Skip to content

Commit

Permalink
pcli: print position ID when creating limit orders
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Aug 9, 2024
1 parent dd369ae commit 4e0f0b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bin/pcli/src/command/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,9 @@ impl TxCmd {
let position = order.as_position(&asset_cache, OsRng)?;
tracing::info!(?position);

let id = position.id();
println!("Creating position {}", id);

let plan = Planner::new(OsRng)
.set_gas_prices(gas_prices)
.set_fee_tier(order.fee_tier().into())
Expand Down

0 comments on commit 4e0f0b6

Please sign in to comment.