aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPeter Todd <[email protected]>2014-03-10 17:31:46 -0400
committerPeter Todd <[email protected]>2014-05-05 05:35:27 -0400
commit68f7d1d7af39a8ea6510f888e8e058e8e8faa007 (patch)
treeabde758379143e5fb5df4c8fbc9dc83678c4d447 /src/main.cpp
parentMerge pull request #4120 (diff)
downloaddiscoin-68f7d1d7af39a8ea6510f888e8e058e8e8faa007.tar.xz
discoin-68f7d1d7af39a8ea6510f888e8e058e8e8faa007.zip
Create (MANDATORY|STANDARD)_SCRIPT_VERIFY_FLAGS constants
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 40c713ce9..cee9d027f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -945,7 +945,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
// Check against previous transactions
// This is done last to help prevent CPU exhaustion denial-of-service attacks.
- if (!CheckInputs(tx, state, view, true, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC))
+ if (!CheckInputs(tx, state, view, true, STANDARD_SCRIPT_VERIFY_FLAGS))
{
return error("AcceptToMemoryPool: : ConnectInputs failed %s", hash.ToString());
}