Update signing to deal with NULL keystore

This commit is contained in:
miketout
2018-10-13 21:42:30 -07:00
parent 6c621e0e43
commit 11f4f605e2
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,8 @@ protected:
public:
BaseSignatureCreator(const CKeyStore* keystoreIn) : keystore(keystoreIn) {}
const CKeyStore& KeyStore() const { return *keystore; };
const bool IsKeystoreValid() const { return keystore != NULL; }
const CKeyStore& KeyStore() const { return *keystore; }
virtual ~BaseSignatureCreator() {}
virtual const BaseSignatureChecker& Checker() const =0;