diff options
| author | jtimon <[email protected]> | 2014-07-18 18:47:10 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-12 20:04:31 +0200 |
| commit | 6dcfda2dc48bee2148acd571dce7d3f09608d7a2 (patch) | |
| tree | 6ba3fec3363d4843eee8887c7a51112385fffec0 /src/main.cpp | |
| parent | Don't pass nHashType to VerifyScript (diff) | |
| download | discoin-6dcfda2dc48bee2148acd571dce7d3f09608d7a2.tar.xz discoin-6dcfda2dc48bee2148acd571dce7d3f09608d7a2.zip | |
Don't pass nHashType to EvalScript nor CheckSig
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 c59bc40c6..134e87fc9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -697,7 +697,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, tx, i, false, 0)) + if (!EvalScript(stack, tx.vin[i].scriptSig, tx, i, false)) return false; if (whichType == TX_SCRIPTHASH) |