From 1e4be028f522cae422b6bb71a6361590a7b66bc0 Mon Sep 17 00:00:00 2001 From: Khanh Hoa Date: Tue, 25 Jun 2024 14:57:23 +0700 Subject: [PATCH] refactor --- icq-relayer/cmd/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icq-relayer/cmd/run.go b/icq-relayer/cmd/run.go index 3b89ec936..cd530b5c3 100644 --- a/icq-relayer/cmd/run.go +++ b/icq-relayer/cmd/run.go @@ -102,7 +102,6 @@ func StartCommand() *cobra.Command { RunE: func(cmd *cobra.Command, args []string) error { cmd.Flags().Set(flags.FlagFrom, args[0]) homepath, err := cmd.Flags().GetString(FlagHomePath) - fmt.Println(cmd.Flags()) if err != nil { return err } @@ -146,6 +145,7 @@ func StartCommand() *cobra.Command { } startCommand.Flags().String(FlagHomePath, types.DefaultHomePath, "homedir") + flags.AddTxFlagsToCmd(startCommand) return startCommand }