diff options
| author | Peter Todd <[email protected]> | 2014-03-10 17:31:46 -0400 |
|---|---|---|
| committer | langerhans <[email protected]> | 2014-06-29 15:38:32 +0200 |
| commit | 1479d05a792c7d73a83ecb8d81ff85cf2b1becaa (patch) | |
| tree | 7f8e74ee61b57a850c8f2f7f472f76de08330cfd /src/main.cpp | |
| parent | Remove reference to libboost with specific version (diff) | |
| download | discoin-1479d05a792c7d73a83ecb8d81ff85cf2b1becaa.tar.xz discoin-1479d05a792c7d73a83ecb8d81ff85cf2b1becaa.zip | |
Create (MANDATORY|STANDARD)_SCRIPT_VERIFY_FLAGS constants
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
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()); } |