Skip to content

Commit

Permalink
clippy and test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Sep 20, 2023
1 parent ee6644c commit 1e9ec92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dex/farm-with-locked-rewards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ pub trait Farm:
let locked_rewards_payment = self.send_to_lock_contract_non_zero(
self.reward_token_id().get(),
boosted_rewards,
caller.clone(),
orig_caller.clone(),
caller,
orig_caller,
);

(merged_farm_token, locked_rewards_payment).into()
Expand Down
5 changes: 3 additions & 2 deletions dex/scenarios/merge_tokens.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"expect": {
"out": [
"0x0000000b4641524d2d6162636465660000000000000003000000040bebc200"
"0x0000000b4641524d2d6162636465660000000000000003000000040bebc200",
"0x0000000c5745474c442d616263646566000000000000000000000000"
],
"status": "0",
"message": "",
Expand Down Expand Up @@ -63,4 +64,4 @@
}
}
]
}
}

0 comments on commit 1e9ec92

Please sign in to comment.