From 7ccd0c10b7f627516145bc4cfca990bd4a9b9bd1 Mon Sep 17 00:00:00 2001 From: Nakul Date: Thu, 31 Aug 2023 23:12:17 +0530 Subject: [PATCH] fix: removed unused clone method Co-authored-by: sander2 --- crates/redeem/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/redeem/src/lib.rs b/crates/redeem/src/lib.rs index 7f24d54d11..14fa625d7a 100644 --- a/crates/redeem/src/lib.rs +++ b/crates/redeem/src/lib.rs @@ -582,7 +582,7 @@ impl Pallet { // Initiate issue call let (issue_id, btc_address) = - ext::issue::request_vault_issue::(old_vault.clone(), amount, new_vault_id.clone(), griefing_currency)?; + ext::issue::request_vault_issue::(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))?;