From f11d74e19348f0245b6e2c9951d12a0c9117d518 Mon Sep 17 00:00:00 2001 From: Kostya Kastsevich Date: Tue, 30 Jan 2024 00:58:09 +0300 Subject: [PATCH] remove fee_collector from blacklist --- app/keepers/keepers.go | 4 +++- heighliner | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 160000 heighliner 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 } diff --git a/heighliner b/heighliner new file mode 160000 index 000000000..b930f3287 --- /dev/null +++ b/heighliner @@ -0,0 +1 @@ +Subproject commit b930f3287efdb56ee4bf20a9c1cef4935e64eaae