Skip to content

Commit

Permalink
test: plain account number to GetAccountNumber func
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jan 12, 2023
1 parent 73fc221 commit 849c0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/auth/ante/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func (suite *AnteTestSuite) TestAnteHandlerFees() {
{
"signer as enough funds, should pass",
func() {
accNums = []uint64{6}
accNums = []uint64{acc1.GetAccountNumber()}
modAcc := suite.app.AccountKeeper.GetModuleAccount(suite.ctx, types.FeeCollectorName)

suite.Require().True(suite.app.BankKeeper.GetAllBalances(suite.ctx, modAcc.GetAddress()).Empty())
Expand Down

0 comments on commit 849c0de

Please sign in to comment.