OSDN Git Service

add log add_log_for_votereward
authorwz <mars@bytom.io>
Thu, 1 Aug 2019 06:47:13 +0000 (14:47 +0800)
committerwz <mars@bytom.io>
Thu, 1 Aug 2019 06:47:13 +0000 (14:47 +0800)
cmd/votereward/main.go

index fd42aa1..b1d5cdf 100644 (file)
@@ -35,6 +35,7 @@ func init() {
 }
 
 func runReward(cmd *cobra.Command, args []string) error {
 }
 
 func runReward(cmd *cobra.Command, args []string) error {
+       log.Info("The voting reward allocation tool is an open-source project, please check the transaction carefully before sending the allocation reward, the transaction error will not be responsible!")
        startTime := time.Now()
        config := &cfg.Config{}
        if err := cfg.LoadConfigFile(configFile, config); err != nil {
        startTime := time.Now()
        config := &cfg.Config{}
        if err := cfg.LoadConfigFile(configFile, config); err != nil {