Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Mar 25, 2024
1 parent 425ccc3 commit 62c7482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/autopilot/src/domain/fee/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ impl ProtocolFee {
let outside_market_price = boundary::is_order_outside_market_price(&order_, &quote_);
match (outside_market_price, &fee_policy.order_class) {
(_, OrderClass::Any) => Some(&fee_policy.policy),
(true, OrderClass::Market) => Some(&fee_policy.policy),
(false, OrderClass::Limit) => Some(&fee_policy.policy),
(true, OrderClass::Limit) => Some(&fee_policy.policy),
(false, OrderClass::Market) => Some(&fee_policy.policy),
_ => None,
}
})
Expand Down

0 comments on commit 62c7482

Please sign in to comment.