Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Aug 14, 2024
1 parent 13859e7 commit f61f211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/autopilot/src/run_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use {
SolverCompetitionDB,
SolverSettlement,
},
num::{CheckedDiv, CheckedMul, CheckedSub, Zero},
primitive_types::H256,
rand::seq::SliceRandom,
shared::token_list::AutoUpdatingTokenList,
Expand Down Expand Up @@ -478,7 +477,7 @@ impl RunLoop {
);
return false;
};
buy_price.in_eth(improvement) > fairness_threshold
buy_price.in_eth(improvement.into()) > fairness_threshold
});
!unfair
}
Expand Down

0 comments on commit f61f211

Please sign in to comment.