aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-04-25 23:16:16 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-05-14 14:57:25 +0200
commit66b0b1b2a6caf9baa2877e414414ec3b37121b8d (patch)
tree665fe6f01764e55fe9e9f72e9ebcf0547bab9fc4 /src/wallet/walletdb.cpp
parentea7d6553bc7d5660cb2f90f1642b6d7f57d8bf77 (diff)
downloadbitcoin-66b0b1b2a6caf9baa2877e414414ec3b37121b8d.tar.xz
Add compile time checking for all cs_wallet runtime locking assertions
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 4d1a6d48d0..66a50db15d 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -248,7 +248,7 @@ public:
static bool
ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
- CWalletScanState &wss, std::string& strType, std::string& strErr)
+ CWalletScanState &wss, std::string& strType, std::string& strErr) EXCLUSIVE_LOCKS_REQUIRED(pwallet->cs_wallet)
{
try {
// Unserialize