diff --git a/packages/cli/src/utils/exchange.ts b/packages/cli/src/utils/exchange.ts index 4d875d7be..1cbe354d8 100644 --- a/packages/cli/src/utils/exchange.ts +++ b/packages/cli/src/utils/exchange.ts @@ -37,7 +37,7 @@ export async function checkNotDangerousExchange( quotedAmountToReceiveWithBuffer, oracleMedianRate ) - if (expectedSlippage > depeggedPricePercentage) { + if (Math.abs(expectedSlippage) > depeggedPricePercentage) { const check = await binaryPrompt( `Warning ${ stableTokenInfo.symbol