Skip to content

Commit

Permalink
inequality
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Aug 14, 2024
1 parent 7c4859e commit 5b301c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/shared/src/bad_token/trace_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl TraceCallDetector {
// may come from rounding discrepancies in tokens that track balances
// with "shares" (e.g. eUSD).
if balance_after_in
<= computed_balance_after_in
< computed_balance_after_in
.checked_sub(U256::one())
.unwrap_or_default()
{
Expand Down Expand Up @@ -226,7 +226,7 @@ impl TraceCallDetector {
// which may come from rounding discrepancies in tokens that track
// balances with "shares" (e.g. eUSD).
if computed_balance_recipient_after
<= balance_recipient_after
< balance_recipient_after
.checked_sub(U256::one())
.unwrap_or_default()
{
Expand Down

0 comments on commit 5b301c1

Please sign in to comment.