aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPeter Todd <[email protected]>2014-03-10 17:31:46 -0400
committerlangerhans <[email protected]>2014-06-29 15:38:32 +0200
commit1479d05a792c7d73a83ecb8d81ff85cf2b1becaa (patch)
tree7f8e74ee61b57a850c8f2f7f472f76de08330cfd /src/main.cpp
parentRemove reference to libboost with specific version (diff)
downloaddiscoin-1479d05a792c7d73a83ecb8d81ff85cf2b1becaa.tar.xz
discoin-1479d05a792c7d73a83ecb8d81ff85cf2b1becaa.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 a95f7cf2d..c8a70488b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -941,7 +941,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());
}