File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ impl InteractiveTxSigningSession {
327327 if self . remote_inputs_count ( ) != tx_signatures. witnesses . len ( ) {
328328 return Err ( ( ) ) ;
329329 }
330- self . unsigned_tx . add_remote_witnesses ( tx_signatures. witnesses . clone ( ) ) ;
330+ self . unsigned_tx . add_remote_witnesses ( tx_signatures. witnesses ) ;
331331 self . counterparty_sent_tx_signatures = true ;
332332
333333 let holder_tx_signatures = if !self . holder_sends_tx_signatures_first {
@@ -360,7 +360,7 @@ impl InteractiveTxSigningSession {
360360 self . holder_tx_signatures = Some ( TxSignatures {
361361 channel_id,
362362 tx_hash : self . unsigned_tx . compute_txid ( ) ,
363- witnesses : witnesses . into_iter ( ) . collect ( ) ,
363+ witnesses,
364364 shared_input_signature : None ,
365365 } ) ;
366366 if self . received_commitment_signed
You can’t perform that action at this time.
0 commit comments