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/script.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/script.cpp')
| -rw-r--r-- | src/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp index 7ef8630f5..10d79e649 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1659,7 +1659,7 @@ bool SignSignature(const CKeyStore &keystore, const CScript& fromPubKey, CTransa } // Test solution - return VerifyScript(txin.scriptSig, fromPubKey, txTo, nIn, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC, 0); + return VerifyScript(txin.scriptSig, fromPubKey, txTo, nIn, STANDARD_SCRIPT_VERIFY_FLAGS, 0); } bool SignSignature(const CKeyStore &keystore, const CTransaction& txFrom, CTransaction& txTo, unsigned int nIn, int nHashType) |