Skip to content

Commit

Permalink
remove fee_collector from blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
kkast committed Jan 29, 2024
1 parent 66b44f7 commit d841b1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,9 @@ func (appKeepers *AppKeepers) BlacklistedModuleAccountAddrs(maccPerms map[string
modAccAddrs := make(map[string]bool)
// DO NOT REMOVE: StringMapKeys fixes non-deterministic map iteration
for acc := range maccPerms {
modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true
if acc != authtypes.FeeCollectorName {
modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true
}
}
return modAccAddrs
}

0 comments on commit d841b1f

Please sign in to comment.