Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions programs/drift/src/state/perp_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,11 @@ impl PerpMarket {
let oracle_plus_funding_basis = oracle_price.safe_add(last_funding_basis)?.cast::<u64>()?;

let median_price = if last_fill_price > 0 {
println!(
msg!(
"last_fill_price: {} oracle_plus_funding_basis: {} oracle_plus_basis_5min: {}",
last_fill_price, oracle_plus_funding_basis, oracle_plus_basis_5min
last_fill_price,
oracle_plus_funding_basis,
oracle_plus_basis_5min
);
let mut prices = [
last_fill_price,
Expand Down
Loading