Skip to content

Commit

Permalink
test: fix broken test
Browse files Browse the repository at this point in the history
use the new BlacklistedModuleAccountAddrs instead
  • Loading branch information
hallazzang committed Jun 21, 2024
1 parent 9640044 commit 657f4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestSimAppExportAndBlockedAddrs(t *testing.T) {
app := SetupWithGenesisAccounts(nil, nil)

// BlockedAddresses returns a map of addresses in app v1 and a map of modules name in app v2.
for acc := range app.ModuleAccountAddrs() {
for acc := range app.BlacklistedModuleAccountAddrs() {
var addr sdk.AccAddress
if modAddr, err := sdk.AccAddressFromBech32(acc); err == nil {
addr = modAddr
Expand Down

0 comments on commit 657f4a1

Please sign in to comment.