Skip to content

Commit

Permalink
update to trigger form tx
Browse files Browse the repository at this point in the history
  • Loading branch information
moo-onthelawn committed Apr 25, 2024
1 parent 4ed3984 commit 0eb9852
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ internal class TriggerOrdersInputValidator(
if (triggerPrice <= liquidationPrice) {
liquidationPriceError(
"SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRADE_BOX_TITLE.SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRADE_BOX.SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRIGGERS_FORM_TITLE.SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRIGGERS_FORM.SELL_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE_NO_LIMIT",
liquidationPrice,
tickSize,
)
Expand All @@ -210,8 +210,8 @@ internal class TriggerOrdersInputValidator(
if (triggerPrice >= liquidationPrice) {
liquidationPriceError(
"BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRADE_BOX_TITLE.BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRADE_BOX.BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRIGGERS_FORM_TITLE.BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE",
"ERRORS.TRIGGERS_FORM.BUY_TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE_NO_LIMIT",
liquidationPrice,
tickSize,
)
Expand Down

0 comments on commit 0eb9852

Please sign in to comment.