diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-01-27 09:28:45 -0400 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-02-02 20:19:12 -0800 |
commit | 858809a33e4f690c4ad213f44a6c4465fc2ef025 (patch) | |
tree | a7b1dad512fb2040431a92f50b2131c0a872d088 /src/script/sigcache.h | |
parent | a62649731fb1babaedff10b7c0baec4c50c90d60 (diff) |
Use separate SignatureChecker for CMutableTransaction
Diffstat (limited to 'src/script/sigcache.h')
-rw-r--r-- | src/script/sigcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 3bd11caff5..6c5bba2c01 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -12,13 +12,13 @@ class CPubKey; -class CachingSignatureChecker : public SignatureChecker +class CachingTransactionSignatureChecker : public TransactionSignatureChecker { private: bool store; public: - CachingSignatureChecker(const CTransaction& txToIn, unsigned int nInIn, bool storeIn=true) : SignatureChecker(txToIn, nInIn), store(storeIn) {} + CachingTransactionSignatureChecker(const CTransaction& txToIn, unsigned int nInIn, bool storeIn=true) : TransactionSignatureChecker(txToIn, nInIn), store(storeIn) {} bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const; }; |