Skip to content

Commit

Permalink
update fundmoduleaccount call
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Jul 5, 2021
1 parent 6edc130 commit e595132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/distribution/keeper/delegation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ func Test100PercentCommissionReward(t *testing.T) {

// set module account coins
distrAcc := app.DistrKeeper.GetDistributionAccount(ctx)
require.NoError(t, simapp.FundModuleAccount(app.BankKeeper, ctx, distrAcc.GetName(), sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1000)))))
require.NoError(t, testutil.FundModuleAccount(app.BankKeeper, ctx, distrAcc.GetName(), sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1000)))))
app.AccountKeeper.SetModuleAccount(ctx, distrAcc)

tokens := sdk.DecCoins{sdk.NewDecCoinFromDec(sdk.DefaultBondDenom, sdk.NewDec(initial))}
Expand Down

0 comments on commit e595132

Please sign in to comment.