Skip to content

Commit

Permalink
floor -> ceil
Browse files Browse the repository at this point in the history
  • Loading branch information
ben2x4 committed Mar 9, 2022
1 parent 765af61 commit fbdc10a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const useMutateLiquidity = ({
convertDenomToMicroDenom(tokenAAmount, tokenA.decimals)
),
nativeDenom: tokenA.denom,
maxToken: Math.floor(
maxToken: Math.ceil(
convertDenomToMicroDenom(tokenBAmount, tokenB.decimals)
),
minLiquidity: 0,
Expand Down

0 comments on commit fbdc10a

Please sign in to comment.