Skip to content

Commit

Permalink
rmeove unused mut
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Jan 6, 2024
1 parent 3e1d954 commit a923ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/drift/src/controller/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2916,7 +2916,7 @@ pub fn _burn_user_lp_shares_for_risk_reduction(

let direction_to_close = perp_position.get_direction_to_close();

Check warning on line 2917 in programs/drift/src/controller/orders.rs

View check run for this annotation

Codecov / codecov/patch

programs/drift/src/controller/orders.rs#L2917

Added line #L2917 was not covered by tests

let mut params = OrderParams::get_aggressive_close_params(
let params = OrderParams::get_aggressive_close_params(
&market,

Check warning on line 2920 in programs/drift/src/controller/orders.rs

View check run for this annotation

Codecov / codecov/patch

programs/drift/src/controller/orders.rs#L2920

Added line #L2920 was not covered by tests
direction_to_close,
perp_position.base_asset_amount.unsigned_abs(),

Check warning on line 2922 in programs/drift/src/controller/orders.rs

View check run for this annotation

Codecov / codecov/patch

programs/drift/src/controller/orders.rs#L2922

Added line #L2922 was not covered by tests
Expand Down

0 comments on commit a923ed5

Please sign in to comment.