We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cdc02 commit 8dfa6d2Copy full SHA for 8dfa6d2
lightning/src/ln/interactivetxs.rs
@@ -327,7 +327,7 @@ impl InteractiveTxSigningSession {
327
if self.remote_inputs_count() != tx_signatures.witnesses.len() {
328
return Err(());
329
}
330
- self.unsigned_tx.add_remote_witnesses(tx_signatures.witnesses.clone());
+ self.unsigned_tx.add_remote_witnesses(tx_signatures.witnesses);
331
self.counterparty_sent_tx_signatures = true;
332
333
let holder_tx_signatures = if !self.holder_sends_tx_signatures_first {
@@ -360,7 +360,7 @@ impl InteractiveTxSigningSession {
360
self.holder_tx_signatures = Some(TxSignatures {
361
channel_id,
362
tx_hash: self.unsigned_tx.compute_txid(),
363
- witnesses: witnesses.into_iter().collect(),
+ witnesses,
364
shared_input_signature: None,
365
});
366
if self.received_commitment_signed
0 commit comments