Commit ca2b59cd authored by duanjinfei's avatar duanjinfei

update config

parent 35326659
...@@ -18,7 +18,7 @@ var paramCmd = &cobra.Command{ ...@@ -18,7 +18,7 @@ var paramCmd = &cobra.Command{
Long: ``, Long: ``,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
if rewardAddr != "" { if rewardAddr != "" {
isSetReward = conf.GetConfig().SetRewardAddress(rewardAddr) isSetReward := conf.GetConfig().SetRewardAddress(rewardAddr)
if !isSetReward { if !isSetReward {
log.Error("Please set right reward address") log.Error("Please set right reward address")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment