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