diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-12-05 18:23:57 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-12-06 15:05:48 -0500 |
commit | 77a777118eaf78f10a439810d1c08d510a539aa0 (patch) | |
tree | 3abffca64ce466ec095472740316248f7043e1e8 /src/wallet/wallet.h | |
parent | 35f962fcf0d5107ae6a3a9348e249a9b18ff7106 (diff) |
Rename EncryptKeys to Encrypt and pass in the encrypted batch to use
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 50cd8833ba..eb74baee4e 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -743,8 +743,6 @@ public: { // Should not have slots connected at this point. assert(NotifyUnload.empty()); - delete encrypted_batch; - encrypted_batch = nullptr; } bool IsCrypted() const { return fUseCrypto; } @@ -1145,8 +1143,6 @@ public: LegacyScriptPubKeyMan::CryptedKeyMap& mapCryptedKeys GUARDED_BY(cs_KeyStore) = m_spk_man->mapCryptedKeys; LegacyScriptPubKeyMan::WatchOnlySet& setWatchOnly GUARDED_BY(cs_KeyStore) = m_spk_man->setWatchOnly; LegacyScriptPubKeyMan::WatchKeyMap& mapWatchKeys GUARDED_BY(cs_KeyStore) = m_spk_man->mapWatchKeys; - WalletBatch*& encrypted_batch GUARDED_BY(cs_wallet) = m_spk_man->encrypted_batch; - using CryptedKeyMap = LegacyScriptPubKeyMan::CryptedKeyMap; /** Get last block processed height */ int GetLastBlockHeight() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet) |