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 b4d4302 commit 7c34e42Copy full SHA for 7c34e42
programs/drift/src/state/perp_market.rs
@@ -739,9 +739,11 @@ impl PerpMarket {
739
let oracle_plus_funding_basis = oracle_price.safe_add(last_funding_basis)?.cast::<u64>()?;
740
741
let median_price = if last_fill_price > 0 {
742
- println!(
+ msg!(
743
"last_fill_price: {} oracle_plus_funding_basis: {} oracle_plus_basis_5min: {}",
744
- last_fill_price, oracle_plus_funding_basis, oracle_plus_basis_5min
+ last_fill_price,
745
+ oracle_plus_funding_basis,
746
+ oracle_plus_basis_5min
747
);
748
let mut prices = [
749
last_fill_price,
0 commit comments