Skip to content

Commit 21e5e36

Browse files
committed
fix Don’t carry the tx after input received
1 parent 1ad5293 commit 21e5e36

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
@@ -880,8 +880,7 @@ impl NegotiationContext {
880880
sequence: Sequence(msg.sequence),
881881
..Default::default()
882882
};
883-
let single_input =
884-
SingleOwnedInput { input: txin, prev_tx: Some(prevtx.clone()), prev_output };
883+
let single_input = SingleOwnedInput { input: txin, prev_tx: None, prev_output };
885884
(prev_outpoint, InputOwned::Single(single_input))
886885
} else {
887886
return Err(AbortReason::PrevTxOutInvalid);

0 commit comments

Comments
 (0)