Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
3shv committed Mar 9, 2025
1 parent 4d98a21 commit f0694e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/database/src/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ impl FullOrder {
if self.sum_sell.is_zero() {
return false;
}
let total_amount = &self.sum_sell - &self.executed_fee;
let total_amount = &self.sum_sell - &self.sum_fee;
total_amount == self.sell_amount
}
}
Expand Down

0 comments on commit f0694e3

Please sign in to comment.