Skip to content

Commit

Permalink
correct the token amount check
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed May 9, 2023
1 parent b6c2c03 commit 2034b80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/feeabs/keeper/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ func (k Keeper) transferOsmosisCrosschainSwap(ctx sdk.Context, hostChainConfig t
nativeDenomIBCedInOsmosis := params.NativeIbcedInOsmosis
chainName := params.ChainName

// TODO: don't use it in product version.
if sdk.NewInt(1).GTE(token.Amount) {
if !token.Amount.IsPositive() {
return nil
}

Expand Down

0 comments on commit 2034b80

Please sign in to comment.