We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7301396 commit d6385c4Copy full SHA for d6385c4
programs/drift/src/state/perp_market.rs
@@ -762,6 +762,12 @@ impl PerpMarket {
762
let oracle_plus_funding_basis = oracle_price.safe_add(last_funding_basis)?.cast::<u64>()?;
763
764
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
+ );
771
let mut prices = [
772
last_fill_price,
773
oracle_plus_funding_basis,
0 commit comments