Skip to content

Commit

Permalink
chore: minor nit
Browse files Browse the repository at this point in the history
  • Loading branch information
kamuikatsurgi committed Jan 12, 2025
1 parent 731fe49 commit 56e9cf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/gov/keeper/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ func trackMockBalances(bankKeeper *govtestutil.MockBankKeeper, distributionKeepe
// We don't track module account balances.
bankKeeper.EXPECT().MintCoins(gomock.Any(), topupTypes.ModuleName, gomock.Any()).AnyTimes()
bankKeeper.EXPECT().BurnCoins(gomock.Any(), types.ModuleName, gomock.Any()).AnyTimes()
bankKeeper.EXPECT().SendCoinsFromModuleToModule(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()).DoAndReturn(func(_ sdk.Context, senderModule string, receiverModule string, coins sdk.Coins) error {
return nil
}).AnyTimes()
bankKeeper.EXPECT().SendCoinsFromModuleToModule(gomock.Any(), gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes()

// But we do track normal account balances.
bankKeeper.EXPECT().SendCoinsFromAccountToModule(gomock.Any(), gomock.Any(), types.ModuleName, gomock.Any()).DoAndReturn(func(_ sdk.Context, sender sdk.AccAddress, _ string, coins sdk.Coins) error {
Expand Down

0 comments on commit 56e9cf1

Please sign in to comment.