From: wz Date: Thu, 1 Aug 2019 07:06:00 +0000 (+0800) Subject: add log (#373) X-Git-Tag: v1.0.5~62 X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=commitdiff_plain;h=df9deca26ab5e99b48bae28fb8282ec3fa47d516 add log (#373) * add log * fix --- diff --git a/cmd/votereward/main.go b/cmd/votereward/main.go index fd42aa11..8695737a 100644 --- a/cmd/votereward/main.go +++ b/cmd/votereward/main.go @@ -35,6 +35,7 @@ func init() { } func runReward(cmd *cobra.Command, args []string) error { + log.Info("This tool belongs to an open-source project, we can not guarantee this tool is bug-free. Please check the code before using, developers will not be responsible for any asset loss due to bug!") startTime := time.Now() config := &cfg.Config{} if err := cfg.LoadConfigFile(configFile, config); err != nil {