-
Notifications
You must be signed in to change notification settings - Fork 486
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Context
Problem
The BlockedAddresses implementation is flawed. It gets module account addresses but treats them like account names.
Lines 650 to 651 in 013eb80
| for acc := range app.ModuleAccountAddrs() { | |
| modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true |
The BlockedAddresses are used by the bank keeper to prevent sending tokens to the blocked addresses.
Proposal
- Fix the implementation
- Add unit tests
Note: this change is breaking so can't be included until v7.
damiannolan
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Needs Triage