Skip to content

Commit

Permalink
debug internal match
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Oct 25, 2023
1 parent 72a9ffb commit b602642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workers/api-server/src/http/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ impl TypedHandler for GetOrderByIdHandler {
)
})?;

dbg!(wallet.orders.clone());

if let Some(order) = wallet.orders.get(&order_id).cloned() {
Ok(GetOrderByIdResponse {
order: (order_id, order).into(),
Expand Down
2 changes: 2 additions & 0 deletions workers/handshake-manager/src/manager/internal_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ impl HandshakeExecutor {
.get_local_scheduleable_orders()
.await;

dbg!(other_orders.clone());

// Sample a price to match the order at
let (base, quote) = self.token_pair_for_order(my_order);
let price = self
Expand Down

0 comments on commit b602642

Please sign in to comment.