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 a2ee699 commit 1ad5293Copy full SHA for 1ad5293
lightning/src/ln/interactivetxs.rs
@@ -638,7 +638,9 @@ impl NegotiationContext {
638
return Err(AbortReason::DuplicateFundingInput);
639
}
640
// Check if received shared input matches the expected
641
- if shared_funding_input.0.txid != *shared_txid {
+ if !(shared_funding_input.0.txid == *shared_txid
642
+ && shared_funding_input.0.vout == msg.prevtx_out)
643
+ {
644
return Err(AbortReason::UnexpectedFundingInput);
645
} else {
646
let previous_output = OutPoint { txid: *shared_txid, vout: msg.prevtx_out };
0 commit comments