diff options
author | James O'Beirne <james.obeirne@pm.me> | 2022-05-25 08:03:45 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2022-05-25 08:03:45 -0400 |
commit | be6d4315c150646cf672778e9232f086403e95df (patch) | |
tree | 4073ee7b999a0dafd21edf9d4e880b670d6f87a6 | |
parent | 700808754884919916a5518e7ecfdabadef956d8 (diff) |
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.
-rw-r--r-- | src/validation.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 44e908152c..9ad95c1c08 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -814,7 +814,6 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws) return false; // state filled in by CheckTxInputs } - // Check for non-standard pay-to-script-hash in inputs if (fRequireStandard && !AreInputsStandard(tx, m_view)) { return state.Invalid(TxValidationResult::TX_INPUTS_NOT_STANDARD, "bad-txns-nonstandard-inputs"); } |