diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-06-27 19:21:41 +0000 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-28 18:47:29 +0100 |
commit | b966aa836a3bc5bfa1314248258308f0026d41bb (patch) | |
tree | 479a641f12deef9df483b368876cbd8ede3da5e5 /src/policy/policy.cpp | |
parent | 92aa7311d64cb1a0109d63d6bf7406c119bf94cd (diff) |
Constrain constant values to a single location in code
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r-- | src/policy/policy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index 4c96fbf5a5..46c7f18942 100644 --- a/src/policy/policy.cpp +++ b/src/policy/policy.cpp @@ -50,7 +50,7 @@ bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType) if (m < 1 || m > n) return false; } else if (whichType == TX_NULL_DATA && - (!GetBoolArg("-datacarrier", true) || scriptPubKey.size() > nMaxDatacarrierBytes)) + (!fAcceptDatacarrier || scriptPubKey.size() > nMaxDatacarrierBytes)) return false; return whichType != TX_NONSTANDARD; |