Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Mar 14, 2024
1 parent 9022be5 commit 6643a01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/sumtree-orderbook/src/order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ pub fn cancel_limit(
})?;
// TODO: Awful type conversion here
// either swap tree to Decimal256 or state to Uint128
// TODO: Should this be part of the LimitOrder struct rather than pulled from current tick state?
// i.e. ETAS is recorded when order placed instead of when cancelled
let etas = Uint128::from_str(
curr_tick_state
.effective_total_amount_swapped
Expand Down

0 comments on commit 6643a01

Please sign in to comment.