Skip to content

Commit eeaa9b7

Browse files
fix Adjust error code MissingPrevTx
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent bb322a8 commit eeaa9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/interactivetxs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ impl NegotiationContext {
879879
let single_input = SingleOwnedInput { input: txin, prev_tx: None, prev_output };
880880
(prev_outpoint, InputOwned::Single(single_input))
881881
} else {
882-
return Err(AbortReason::PrevTxOutInvalid);
882+
return Err(AbortReason::MissingPrevTx);
883883
}
884884
};
885885
if !self.prevtx_outpoints.insert(prev_outpoint) {

0 commit comments

Comments
 (0)