Skip to content

Commit

Permalink
fix: removed unused clone method
Browse files Browse the repository at this point in the history
Co-authored-by: sander2 <[email protected]>
  • Loading branch information
nakul1010 and sander2 authored Aug 31, 2023
1 parent a319e6e commit 7ccd0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/redeem/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ impl<T: Config> Pallet<T> {

// Initiate issue call
let (issue_id, btc_address) =
ext::issue::request_vault_issue::<T>(old_vault.clone(), amount, new_vault_id.clone(), griefing_currency)?;
ext::issue::request_vault_issue::<T>(old_vault, amount, new_vault_id, griefing_currency)?;

// Initiate redeem call
Self::_request_redeem(new_vault, amount, btc_address, old_vault_id, Some(issue_id))?;
Expand Down

0 comments on commit 7ccd0c1

Please sign in to comment.