Skip to content

Commit

Permalink
Update x/distribution/client/cli/tx.go
Browse files Browse the repository at this point in the history
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
  • Loading branch information
RiccardoM and amaury1093 authored Jul 28, 2021
1 parent 94cacd2 commit 3ebce6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/distribution/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3ebce6f

Please sign in to comment.