Skip to content

Commit 265cc6b

Browse files
committed
fmt
1 parent 6fe22d1 commit 265cc6b

File tree

1 file changed

+3
-1
lines changed
  • crates/shared/src/price_estimation/trade_verifier

1 file changed

+3
-1
lines changed

crates/shared/src/price_estimation/trade_verifier/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,9 @@ fn ensure_quote_accuracy(
867867
.get(&query.buy_token)
868868
.context("summary buy token is missing")?;
869869

870-
if (!sell_token_lost.is_zero() && *sell_token_lost >= sell_token_lost_limit) || (!buy_token_lost.is_zero() && *buy_token_lost >= buy_token_lost_limit) {
870+
if (!sell_token_lost.is_zero() && *sell_token_lost >= sell_token_lost_limit)
871+
|| (!buy_token_lost.is_zero() && *buy_token_lost >= buy_token_lost_limit)
872+
{
871873
return Err(Error::TooInaccurate);
872874
}
873875

0 commit comments

Comments
 (0)