Skip to content

Commit

Permalink
program: enable pool ids
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Dec 5, 2024
1 parent c40179c commit 53bb942
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions programs/drift/src/instructions/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2222,11 +2222,6 @@ pub fn handle_update_user_pool_id<'c: 'info, 'info>(
_sub_account_id: u16,
pool_id: u8,
) -> Result<()> {
#[cfg(all(feature = "mainnet-beta", not(feature = "anchor-test")))]
{
panic!("pools disabled on mainnet-beta");
}

let remaining_accounts_iter = &mut ctx.remaining_accounts.iter().peekable();
let AccountMaps {
perp_market_map,
Expand Down

0 comments on commit 53bb942

Please sign in to comment.