Skip to content

Commit be6d431

Browse files
committed
doc: remove misleading AreInputsStandard() comment
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.
1 parent 7008087 commit be6d431

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)