diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-28 20:20:41 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-28 20:21:06 -0800 |
commit | da617ac1b0856eca5b5e94e4bc2b6c64575013b2 (patch) | |
tree | fa439893f892141ea4902bde130262b6a5b2671e /src/wallet/wallet2.h | |
parent | Merge pull request #6222 (diff) | |
parent | wallet2: guard against race with multiple decrypt_keys users (diff) | |
download | monero-da617ac1b0856eca5b5e94e4bc2b6c64575013b2.tar.xz |
Merge pull request #6238
f717d593 wallet2: guard against race with multiple decrypt_keys users (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 810c002fe..80422bd2c 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1618,6 +1618,8 @@ private: crypto::chacha_key m_cache_key; boost::optional<epee::wipeable_string> m_encrypt_keys_after_refresh; + boost::mutex m_decrypt_keys_lock; + unsigned int m_decrypt_keys_lockers; bool m_unattended; bool m_devices_registered; |