diff options
| author | Pieter Wuille <[email protected]> | 2015-01-27 09:28:45 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-02-02 20:19:12 -0800 |
| commit | 858809a33e4f690c4ad213f44a6c4465fc2ef025 (patch) | |
| tree | a7b1dad512fb2040431a92f50b2131c0a872d088 /src/main.cpp | |
| parent | Merge pull request #5731 (diff) | |
| download | discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.tar.xz discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.zip | |
Use separate SignatureChecker for CMutableTransaction
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 f43d8c58b..702358cf9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1422,7 +1422,7 @@ void UpdateCoins(const CTransaction& tx, CValidationState &state, CCoinsViewCach bool CScriptCheck::operator()() { const CScript &scriptSig = ptxTo->vin[nIn].scriptSig; - if (!VerifyScript(scriptSig, scriptPubKey, nFlags, CachingSignatureChecker(*ptxTo, nIn, cacheStore), &error)) { + if (!VerifyScript(scriptSig, scriptPubKey, nFlags, CachingTransactionSignatureChecker(*ptxTo, nIn, cacheStore), &error)) { return ::error("CScriptCheck(): %s:%d VerifySignature failed: %s", ptxTo->GetHash().ToString(), nIn, ScriptErrorString(error)); } return true; |