Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bekauz committed Nov 30, 2023
1 parent 1f5556e commit 92464d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/two-party-pol-holder/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ pub fn try_handle_side_based_ragequit(
msg: to_json_binary(withdraw_liquidity_hook)?,
};

let balances = rq_state.coins.clone();
let balances = rq_state.coins;
let distribution_messages = updated_denom_splits.get_shared_distribution_messages(balances);

// messages will contain the withdraw liquidity message followed
Expand Down Expand Up @@ -633,7 +633,7 @@ pub fn try_handle_share_based_ragequit(
msg: to_json_binary(withdraw_liquidity_hook)?,
};

let balances = rq_state.coins.clone();
let balances = rq_state.coins;
let distribution_messages = updated_denom_splits
.get_single_receiver_distribution_messages(balances, ragequit_party.router.to_string());

Expand Down

0 comments on commit 92464d6

Please sign in to comment.