From 7fd976e92a1a2b524273a5f14cfb497d54816512 Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Thu, 26 Feb 2026 18:34:52 -0600 Subject: [PATCH] fix(app): use module names in BlockedAddrs Signed-off-by: Artur Troian --- app/app.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/app.go b/app/app.go index 55873de28..e042ab7e8 100644 --- a/app/app.go +++ b/app/app.go @@ -421,10 +421,10 @@ func (app *AkashApp) ModuleAccountAddrs() map[string]bool { // BlockedAddrs returns all the app's module account addresses that are not // allowed to receive external tokens. func (app *AkashApp) BlockedAddrs() map[string]bool { - perms := ModuleAccountAddrs() + perms := ModuleAccountPerms() blockedAddrs := make(map[string]bool) - for acc := range perms { - blockedAddrs[authtypes.NewModuleAddress(acc).String()] = !allowedReceivingModAcc[acc] + for macc := range perms { + blockedAddrs[authtypes.NewModuleAddress(macc).String()] = !allowedReceivingModAcc[macc] } return blockedAddrs