Skip to content

Commit

Permalink
[1834]: Remove TODO that's TODONE (unit tests on blocked addresses).
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Feb 13, 2024
1 parent e0cd6b2 commit 8aa014a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/exchange/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ func (k Keeper) DoTransfer(ctxIn sdk.Context, inputs []banktypes.Input, outputs
return k.bankKeeper.SendCoins(ctx, fromAddr, toAddr, inputs[0].Coins)
}

// TODO[1834]: Unit tests on transfers to blocked addresses.
for _, output := range outputs {
toAddr, err := sdk.AccAddressFromBech32(output.Address)
if err == nil && k.bankKeeper.BlockedAddr(toAddr) {
Expand Down

0 comments on commit 8aa014a

Please sign in to comment.