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 4eba379 commit 7305bb7Copy full SHA for 7305bb7
programs/drift/src/instructions/keeper.rs
@@ -1104,8 +1104,7 @@ pub fn handle_settle_pnl<'c: 'info, 'info>(
1104
&mut oracle_map,
1105
state,
1106
&clock,
1107
- )
1108
- .map(|_| ErrorCode::InvalidOracleForSettlePnl)?;
+ )?;
1109
1110
controller::pnl::settle_pnl(
1111
market_index,
@@ -1219,8 +1218,7 @@ pub fn handle_settle_multiple_pnls<'c: 'info, 'info>(
1219
1218
1220
1221
1222
1223
1224
1225
1226
*market_index,
0 commit comments