From fbf7e4327520b5728a40f970b352bd73e2aff3e1 Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Wed, 13 Nov 2024 11:44:27 +0900 Subject: [PATCH] feat: allow x/liquidvesting module account to receive funds --- app/app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app.go b/app/app.go index ea5642be..b919ab85 100644 --- a/app/app.go +++ b/app/app.go @@ -65,6 +65,7 @@ import ( "github.com/milkyway-labs/milkyway/app/keepers" "github.com/milkyway-labs/milkyway/app/upgrades" _ "github.com/milkyway-labs/milkyway/client/docs/statik" + liquidvestingtypes "github.com/milkyway-labs/milkyway/x/liquidvesting/types" ) var ( @@ -409,6 +410,7 @@ func ModuleAccountAddrs() map[string]bool { func BlockedModuleAccountAddrs(modAccAddrs map[string]bool) map[string]bool { // remove module accounts that are ALLOWED to received funds delete(modAccAddrs, authtypes.NewModuleAddress(govtypes.ModuleName).String()) + delete(modAccAddrs, authtypes.NewModuleAddress(liquidvestingtypes.ModuleName).String()) // Remove the ConsumerRewardsPool from the group of blocked recipient addresses in bank delete(modAccAddrs, authtypes.NewModuleAddress(providertypes.ConsumerRewardsPool).String())