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 {
327
327
if self . remote_inputs_count ( ) != tx_signatures. witnesses . len ( ) {
328
328
return Err ( ( ) ) ;
329
329
}
330
- self . unsigned_tx . add_remote_witnesses ( tx_signatures. witnesses . clone ( ) ) ;
330
+ self . unsigned_tx . add_remote_witnesses ( tx_signatures. witnesses ) ;
331
331
self . counterparty_sent_tx_signatures = true ;
332
332
333
333
let holder_tx_signatures = if !self . holder_sends_tx_signatures_first {
@@ -360,7 +360,7 @@ impl InteractiveTxSigningSession {
360
360
self . holder_tx_signatures = Some ( TxSignatures {
361
361
channel_id,
362
362
tx_hash : self . unsigned_tx . compute_txid ( ) ,
363
- witnesses : witnesses . into_iter ( ) . collect ( ) ,
363
+ witnesses,
364
364
shared_input_signature : None ,
365
365
} ) ;
366
366
if self . received_commitment_signed
You can’t perform that action at this time.
0 commit comments