diff options
| author | Peter Todd <[email protected]> | 2014-03-10 17:31:46 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2014-05-05 05:35:27 -0400 |
| commit | 68f7d1d7af39a8ea6510f888e8e058e8e8faa007 (patch) | |
| tree | abde758379143e5fb5df4c8fbc9dc83678c4d447 /src/script.cpp | |
| parent | Merge pull request #4120 (diff) | |
| download | discoin-68f7d1d7af39a8ea6510f888e8e058e8e8faa007.tar.xz discoin-68f7d1d7af39a8ea6510f888e8e058e8e8faa007.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 810ba16d2..dc0cd28bf 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1670,7 +1670,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) |