-
Notifications
You must be signed in to change notification settings - Fork 498
Closed
Labels
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done