From 3ebce6fab57d00076f6216aa2884f3a13bebf91b Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Wed, 28 Jul 2021 11:52:22 +0200 Subject: [PATCH] Update x/distribution/client/cli/tx.go Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> --- x/distribution/client/cli/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/distribution/client/cli/tx.go b/x/distribution/client/cli/tx.go index 09567630b899..822821e24e4c 100644 --- a/x/distribution/client/cli/tx.go +++ b/x/distribution/client/cli/tx.go @@ -169,7 +169,7 @@ $ %[1]s tx distribution withdraw-all-rewards --from mykey chunkSize, _ := cmd.Flags().GetInt(FlagMaxMessagesPerTx) if clientCtx.BroadcastMode != flags.BroadcastBlock && chunkSize > 0 { - cmd.Println("Cannot use broadcast mode %[1]s with %[2]s != 0. Forcing %[2]s to 0", + cmd.Printf("Cannot use broadcast mode %[1]s with %[2]s != 0. Forcing %[2]s to 0", clientCtx.BroadcastMode, FlagMaxMessagesPerTx) chunkSize = 0 }