diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-07 14:46:08 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-07 15:22:14 -0500 |
commit | faa46475d7d7dc60dcc80be34826cf98fb25dc95 (patch) | |
tree | 09c37985d69ba643c9b0cd7693345f13acf3d282 /src/interfaces | |
parent | 72d34c0edc5ad9e69e0d054459ec15d2278f206b (diff) |
wallet: Add lock annotation for mapAddressBook
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index a2cae2a7a7..82dd8a094b 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -212,6 +212,7 @@ public: } std::vector<std::string> getDestValues(const std::string& prefix) override { + LOCK(m_wallet.cs_wallet); return m_wallet.GetDestValues(prefix); } void lockCoin(const COutPoint& output) override |