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 7c34e42 commit 8687a68Copy full SHA for 8687a68
programs/drift/src/controller/repeg.rs
@@ -429,7 +429,7 @@ pub fn settle_expired_market(
429
let target_expiry_price = if market.amm.oracle_source == OracleSource::Prelaunch {
430
market.amm.historical_oracle_data.last_oracle_price
431
} else {
432
- market.amm.historical_oracle_data.last_oracle_price_twap
+ market.amm.historical_oracle_data.last_oracle_price_twap_5min
433
};
434
435
crate::dlog!(target_expiry_price);
0 commit comments