Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow splitting withdrawal txs #4384

Merged
merged 11 commits into from
May 23, 2019
Prev Previous commit
Next Next commit
Update x/distribution/client/cli/tx.go
Co-Authored-By: Alessio Treglia <[email protected]>
  • Loading branch information
jleni and alessio authored May 21, 2019
commit 767571cbfd6e8534f512e3479fec6f65e2d270ea
4 changes: 3 additions & 1 deletion x/distribution/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ func splitGenerateOrBroadcast(cliCtx context.CLIContext, txBldr authtxb.TxBuilde
sliceEnd = totalMessages
}
msgChunk := msgs[i:sliceEnd]
err := utils.GenerateOrBroadcastMsgs(cliCtx, txBldr, msgChunk)
if err := utils.GenerateOrBroadcastMsgs(cliCtx, txBldr, msgChunk); err != nil {
return err
}
if err != nil {
return err
}
Expand Down