Skip to content

Commit

Permalink
update language of depeg warning. the price is not depegged yet but w…
Browse files Browse the repository at this point in the history
…ould be by the action. also reduce the words to make it clearer
  • Loading branch information
aaronmgdr committed Feb 7, 2024
1 parent d7e6fcf commit 33f54fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function checkNotDangerousExchange(
const check = await binaryPrompt(
`Warning ${
stableTokenInfo.symbol
} price here (i.e. on-chain) is depegged by ${expectedSlippage}% which is >${depeggedPricePercentage}% from the oracle prices ${oracleMedianRate.toString()} (i.e. swap prices). Are you sure you want to continue?`,
} price here (i.e. on-chain) would be depegged by ${expectedSlippage}% from the oracle prices ${oracleMedianRate.toString()} (i.e. swap prices). Are you sure you want to continue?`,
true
)
return check
Expand Down

0 comments on commit 33f54fb

Please sign in to comment.