Skip to content

Commit d6385c4

Browse files
jordy25519moosecat2
authored andcommitted
rm println (#1962)
1 parent 7301396 commit d6385c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

programs/drift/src/state/perp_market.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,12 @@ impl PerpMarket {
762762
let oracle_plus_funding_basis = oracle_price.safe_add(last_funding_basis)?.cast::<u64>()?;
763763

764764
let median_price = if last_fill_price > 0 {
765+
msg!(
766+
"last_fill_price: {} oracle_plus_funding_basis: {} oracle_plus_basis_5min: {}",
767+
last_fill_price,
768+
oracle_plus_funding_basis,
769+
oracle_plus_basis_5min
770+
);
765771
let mut prices = [
766772
last_fill_price,
767773
oracle_plus_funding_basis,

0 commit comments

Comments
 (0)