Skip to content

Commit

Permalink
Fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Nov 10, 2023
1 parent f09a116 commit 2e9a500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dex/farm-with-locked-rewards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub trait Farm:

let locked_rewards_payment = self.send_to_lock_contract_non_zero(
rewards.token_identifier.clone(),
rewards.amount.clone(),
rewards.amount,
caller,
orig_caller.clone(),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub trait ProxyUnstakeModule:
);

let staking_farm_exit_result = self.staking_farm_unstake(
orig_caller.clone(),
orig_caller,
remove_liq_result.staking_token_payment,
exit_attributes.staking_farm_token_nonce,
exit_attributes.staking_farm_token_amount,
Expand Down

0 comments on commit 2e9a500

Please sign in to comment.