Skip to content

Commit

Permalink
Update modules/apps/transfer/keeper/keeper.go
Browse files Browse the repository at this point in the history
Co-authored-by: Damian Nolan <[email protected]>
  • Loading branch information
colin-axner and damiannolan authored May 3, 2023
1 parent d3d3bda commit 87240a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/transfer/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (k Keeper) SetTotalEscrowForDenom(ctx sdk.Context, denom string, amount mat
func (k Keeper) GetAllTotalEscrowed(ctx sdk.Context) sdk.Coins {
var escrows sdk.Coins
k.IterateTokensInEscrow(ctx, []byte(types.KeyTotalEscrowPrefix), func(denomEscrow sdk.Coin) bool {
escrows.Add(denomEscrow)
escrows = escrows.Add(denomEscrow)
return false
})

Expand Down

0 comments on commit 87240a3

Please sign in to comment.