Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Sep 29, 2023
1 parent 75eba99 commit 2e36524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dex/farm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub trait Farm:

self.migrate_old_farm_positions(&orig_caller);

let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller.clone());
let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller);

self.send_payment_non_zero(&caller, &claim_rewards_result.new_farm_token);
self.send_payment_non_zero(&caller, &claim_rewards_result.rewards);
Expand Down

0 comments on commit 2e36524

Please sign in to comment.