From d841b1fbcf268ea68782e55ed3920d44070bf1ed Mon Sep 17 00:00:00 2001 From: Kostya Kastsevich <kkastsevich@gmail.com> Date: Tue, 30 Jan 2024 02:09:24 +0300 Subject: [PATCH] remove fee_collector from blacklist --- app/keepers/keepers.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index f56a9bcbb..b850c042f 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -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 }