X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkeystore.cpp;fp=src%2Fkeystore.cpp;h=18a39422a99dba9b6f8ae154af0a5eb1afc1b147;hb=2c2107310f7c2f50fbb257283f223ec9b7007f41;hp=e0cf805a19ea3e492c3e6070971ddfd4425bd701;hpb=65da4c5bc57ef7c9fd86994bd08208e48a6165ab;p=novacoin.git diff --git a/src/keystore.cpp b/src/keystore.cpp index e0cf805..18a3942 100644 --- a/src/keystore.cpp +++ b/src/keystore.cpp @@ -6,6 +6,8 @@ #include "keystore.h" #include "script.h" +extern bool fWalletUnlockMintOnly; + bool CKeyStore::GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) const { CKey key; @@ -81,6 +83,7 @@ bool CCryptoKeyStore::Lock() { LOCK(cs_KeyStore); vMasterKey.clear(); + fWalletUnlockMintOnly = false; } NotifyStatusChanged(this);