From e85cd02cd70e9a7cc3625464cfa015956142a34a Mon Sep 17 00:00:00 2001 From: Khanh Hoa Date: Fri, 5 Jan 2024 11:49:31 +0700 Subject: [PATCH] fix: add permission to account fee_collector --- app/app.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index a109dee2..31d98431 100644 --- a/app/app.go +++ b/app/app.go @@ -227,7 +227,7 @@ var ( // module account permissions maccPerms = map[string][]string{ - authtypes.FeeCollectorName: nil, + authtypes.FeeCollectorName: {authtypes.Burner}, distrtypes.ModuleName: nil, minttypes.ModuleName: {authtypes.Minter}, stakingtypes.BondedPoolName: {authtypes.Burner, authtypes.Staking}, @@ -241,7 +241,6 @@ var ( tokenfactorytypes.ModuleName: {authtypes.Minter, authtypes.Burner}, alliancemoduletypes.ModuleName: {authtypes.Minter, authtypes.Burner}, alliancemoduletypes.RewardsPoolName: nil, - feeburnmoduletypes.ModuleName: {authtypes.Burner}, } )