Skip to content

Commit

Permalink
Merge PR cosmos#7327: remove resulting value return from AddCoins and…
Browse files Browse the repository at this point in the history
… SubtractCoins
  • Loading branch information
colin-axner authored Sep 16, 2020
1 parent a79422e commit 126b67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func addTestAddrs(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int, stra
func saveAccount(app *SimApp, ctx sdk.Context, addr sdk.AccAddress, initCoins sdk.Coins) {
acc := app.AccountKeeper.NewAccountWithAddress(ctx, addr)
app.AccountKeeper.SetAccount(ctx, acc)
_, err := app.BankKeeper.AddCoins(ctx, addr, initCoins)
err := app.BankKeeper.AddCoins(ctx, addr, initCoins)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 126b67e

Please sign in to comment.