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 78dba9f commit f11d74e
Show file tree
Hide file tree
Showing 2 changed files with 4 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
}
1 change: 1 addition & 0 deletions heighliner
Submodule heighliner added at b930f3

0 comments on commit f11d74e

Please sign in to comment.