Skip to content

Commit

Permalink
Remove reduant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Sep 21, 2023
1 parent c2e0218 commit 34b64de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mutiny-core/src/onchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl<S: MutinyStorage> OnChainWallet<S> {
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)
}
Expand Down Expand Up @@ -530,7 +530,7 @@ impl<S: MutinyStorage> OnChainWallet<S> {
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)
}
Expand Down

0 comments on commit 34b64de

Please sign in to comment.