Skip to content

Commit

Permalink
fix clippy issuess
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider committed Nov 20, 2024
1 parent 059e589 commit 3f3eca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/mango-v4/src/instructions/perp_prune_orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ pub fn perp_prune_orders(ctx: Context<PerpPruneOrders>, limit: u8) -> Result<()>
};

book.cancel_all_orders(
account,
&ctx.accounts.account.key(),
&mut account.borrow_mut(),
ctx.accounts.account.as_ref().key,
&mut perp_market,
limit,
None,
Expand Down

0 comments on commit 3f3eca0

Please sign in to comment.