From 34b64deb00230e5ecdf544313a23d15ff3d5f2fb Mon Sep 17 00:00:00 2001 From: benthecarman Date: Wed, 20 Sep 2023 23:23:36 -0500 Subject: [PATCH] Remove reduant clone --- mutiny-core/src/onchain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutiny-core/src/onchain.rs b/mutiny-core/src/onchain.rs index d4adadafa..4647b5ae6 100644 --- a/mutiny-core/src/onchain.rs +++ b/mutiny-core/src/onchain.rs @@ -478,7 +478,7 @@ impl OnChainWallet { let raw_transaction = psbt.extract_tx(); let txid = raw_transaction.txid(); - self.broadcast_transaction(raw_transaction.clone()).await?; + self.broadcast_transaction(raw_transaction).await?; log_debug!(self.logger, "Transaction broadcast! TXID: {txid}"); Ok(txid) } @@ -530,7 +530,7 @@ impl OnChainWallet { let raw_transaction = psbt.extract_tx(); let txid = raw_transaction.txid(); - self.broadcast_transaction(raw_transaction.clone()).await?; + self.broadcast_transaction(raw_transaction).await?; log_debug!(self.logger, "Transaction broadcast! TXID: {txid}"); Ok(txid) }