From df9deca26ab5e99b48bae28fb8282ec3fa47d516 Mon Sep 17 00:00:00 2001 From: wz Date: Thu, 1 Aug 2019 15:06:00 +0800 Subject: [PATCH] add log (#373) * add log * fix --- cmd/votereward/main.go | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.11.0