Skip to content

Commit c324b07

Browse files
committed
Merge bitcoin/bitcoin#25210: doc: remove misleading AreInputsStandard() comment
be6d431 doc: remove misleading AreInputsStandard() comment (James O'Beirne) Pull request description: This check isn't any longer just about bad pay-to-script-hash inputs; it also excludes any kind of nonstandard input, unknown witness versions, coinbases, etc. ACKs for top commit: laanwj: ACK be6d431 dunxen: ACK be6d431 jonatack: ACK be6d431 Tree-SHA512: 1c4befadff6a7b5789901ca2a2cc39adc35c688f7e3c093ab5292123f9193ce078731016b773b3d05f7004ff01ee62f23f8362ae8d05134d41dc097ba094a42b
2 parents 4901631 + be6d431 commit c324b07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/validation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
814814
return false; // state filled in by CheckTxInputs
815815
}
816816

817-
// Check for non-standard pay-to-script-hash in inputs
818817
if (fRequireStandard && !AreInputsStandard(tx, m_view)) {
819818
return state.Invalid(TxValidationResult::TX_INPUTS_NOT_STANDARD, "bad-txns-nonstandard-inputs");
820819
}

0 commit comments

Comments
 (0)