diff options
| author | Pieter Wuille <[email protected]> | 2015-01-27 10:01:31 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-02-02 20:19:46 -0800 |
| commit | 9fddceda44fb5592be179d783f0e5ac616c51c0d (patch) | |
| tree | e5fbeb4aa5f3fcc6109911b61156e1b1adbcfff2 /src/script/sigcache.h | |
| parent | Use separate SignatureChecker for CMutableTransaction (diff) | |
| download | discoin-9fddceda44fb5592be179d783f0e5ac616c51c0d.tar.xz discoin-9fddceda44fb5592be179d783f0e5ac616c51c0d.zip | |
Avoid storing a reference passed to SignatureChecker constructors
Diffstat (limited to 'src/script/sigcache.h')
| -rw-r--r-- | src/script/sigcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 6c5bba2c0..b299038da 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -18,7 +18,7 @@ private: bool store; public: - CachingTransactionSignatureChecker(const CTransaction& txToIn, unsigned int nInIn, bool storeIn=true) : TransactionSignatureChecker(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; }; |