diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-26 15:12:44 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-26 15:13:35 +0200 |
commit | c324b07a541a04698954ece94e5879ae7131c1c7 (patch) | |
tree | 129398ea5dde3193c828ab13ce7068b75d1da1ae /src | |
parent | 4901631dac6a883c6ddd0d4e5e3edd08b10d7609 (diff) | |
parent | be6d4315c150646cf672778e9232f086403e95df (diff) | |
download | bitcoin-c324b07a541a04698954ece94e5879ae7131c1c7.tar.xz |
Merge bitcoin/bitcoin#25210: doc: remove misleading AreInputsStandard() comment
be6d4315c150646cf672778e9232f086403e95df 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 be6d4315c150646cf672778e9232f086403e95df
dunxen:
ACK be6d431
jonatack:
ACK be6d4315c150646cf672778e9232f086403e95df
Tree-SHA512: 1c4befadff6a7b5789901ca2a2cc39adc35c688f7e3c093ab5292123f9193ce078731016b773b3d05f7004ff01ee62f23f8362ae8d05134d41dc097ba094a42b
Diffstat (limited to 'src')
-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"); } |