aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPavel Vasin <pavel@vasin.nl>2014-12-29 18:48:19 +0300
committerPavel Vasin <pavel@vasin.nl>2014-12-30 10:01:16 +0300
commitde236f57c68c2c29d148a2df9e019f431cee3cb7 (patch)
tree4f1abd17e8e0b451b992dd272ec1d354d001efa8 /src/main.cpp
parenta99ef7d3533b5685bd871365b4574aa4d8e0ca20 (diff)
downloadbitcoin-de236f57c68c2c29d148a2df9e019f431cee3cb7.tar.xz
clarify obscure uses of EvalScript()
The 3rd argument of EvalScript() is the unsigned int flags, not a bool.
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 2410230ef4..3b9a0d4cf0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -762,7 +762,7 @@ bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
// IsStandard() will have already returned false
// and this method isn't called.
vector<vector<unsigned char> > stack;
- if (!EvalScript(stack, tx.vin[i].scriptSig, false, BaseSignatureChecker()))
+ if (!EvalScript(stack, tx.vin[i].scriptSig, SCRIPT_VERIFY_NONE, BaseSignatureChecker()))
return false;
if (whichType == TX_SCRIPTHASH)