Skip to content

Commit

Permalink
feat: allow x/liquidvesting module account to receive funds
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Nov 13, 2024
1 parent fa86b91 commit fbf7e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit fbf7e43

Please sign in to comment.