Skip to content

Commit

Permalink
caution comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sistemd committed Nov 9, 2022
1 parent 02f231c commit 382527c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/autopilot/src/solvable_orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ impl SolvableOrdersCache {
mut orders: Vec<Order>,
prices: &BTreeMap<H160, U256>,
) -> Vec<Order> {
// TODO This won't quite work, needs to be updated

orders.retain(|order| {
if order.metadata.class != OrderClass::Limit {
return true;
Expand Down

0 comments on commit 382527c

Please sign in to comment.