Skip to content

Commit

Permalink
fix: order event owner
Browse files Browse the repository at this point in the history
  • Loading branch information
mx819812523 committed Jan 26, 2025
1 parent b5a0d16 commit 6f6dc3d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/orderbook/sources/market.move
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 2
})
Expand All @@ -329,7 +329,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 3
})
Expand Down Expand Up @@ -408,7 +408,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 4
});
Expand Down Expand Up @@ -505,7 +505,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 4
});
Expand Down Expand Up @@ -594,7 +594,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 5
});
Expand Down Expand Up @@ -691,7 +691,7 @@ module orderbook::market_v2 {
order_id,
unit_price: order.unit_price,
quantity: order.quantity,
owner: sender(),
owner: order.owner,
timestamp: now_milliseconds(),
order_type: 5
});
Expand Down

0 comments on commit 6f6dc3d

Please sign in to comment.