Skip to content

Commit

Permalink
feat: enable gov module to receive external tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed May 10, 2024
1 parent 28113eb commit 788a6d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 788a6d8

Please sign in to comment.