From 788a6d80ee3c8f520629dabc603b94c3e2d5b26e Mon Sep 17 00:00:00 2001 From: dudong2 Date: Fri, 10 May 2024 12:13:57 +0900 Subject: [PATCH] feat: enable gov module to receive external tokens --- app/app.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.go b/app/app.go index 3b132683fd..237c09844d 100644 --- a/app/app.go +++ b/app/app.go @@ -1067,6 +1067,9 @@ func (app *EthermintApp) BlockedAddrs() map[string]bool { blockedAddrs[authtypes.NewModuleAddress(acc).String()] = !allowedReceivingModAcc[acc] } + // allow the following addresses to receive funds + delete(blockedAddrs, authtypes.NewModuleAddress(govtypes.ModuleName).String()) + return blockedAddrs }