Skip to content

Commit bb322a8

Browse files
committed
fix Don’t carry the tx after input received
1 parent e938971 commit bb322a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/interactivetxs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,7 @@ impl NegotiationContext {
876876
sequence: Sequence(msg.sequence),
877877
..Default::default()
878878
};
879-
let single_input =
880-
SingleOwnedInput { input: txin, prev_tx: Some(prevtx.clone()), prev_output };
879+
let single_input = SingleOwnedInput { input: txin, prev_tx: None, prev_output };
881880
(prev_outpoint, InputOwned::Single(single_input))
882881
} else {
883882
return Err(AbortReason::PrevTxOutInvalid);

0 commit comments

Comments
 (0)