Commit ca2b59cd authored by duanjinfei's avatar duanjinfei

update config

parent 35326659
......@@ -18,7 +18,7 @@ var paramCmd = &cobra.Command{
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
if rewardAddr != "" {
isSetReward = conf.GetConfig().SetRewardAddress(rewardAddr)
isSetReward := conf.GetConfig().SetRewardAddress(rewardAddr)
if !isSetReward {
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