aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-11-28 22:12:33 +0100
committerPieter Wuille <[email protected]>2015-11-28 22:15:23 +0100
commit8d26289c9a7c77c7e5cecaafebe0231cb4d69fbe (patch)
treebe57e0918417600e4a758f02338f479946bb2721 /src/policy/policy.cpp
parentMerge pull request #6942 (diff)
parent[qt] Move GUI related HelpMessage() part downstream (diff)
downloaddiscoin-8d26289c9a7c77c7e5cecaafebe0231cb4d69fbe.tar.xz
discoin-8d26289c9a7c77c7e5cecaafebe0231cb4d69fbe.zip
Merge pull request #6961
fa41d4c [qt] Move GUI related HelpMessage() part downstream (MarcoFalke) faf93f3 [trivial] Reuse translation and cleanup DEFAULT_* values (MarcoFalke) 3307bdb Bugfix: Omit wallet-related options from -help when wallet is not supported (Luke Dashjr) b966aa8 Constrain constant values to a single location in code (Luke Dashjr)
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r--src/policy/policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index 4c96fbf5a..46c7f1894 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;