aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2020-08-06 02:55:31 +1000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-08-29 20:46:47 +0300
commit2ee7743fe723227f2ea1b031eddb14fc6863f4c8 (patch)
tree65bce22427bcb9addb344982545af9abfe75ada5 /src/wallet/wallet.h
parent23d71d171e6e22ba5e4a909d597a54595b2a2c1f (diff)
downloadbitcoin-2ee7743fe723227f2ea1b031eddb14fc6863f4c8.tar.xz
sync.h: Make runtime lock checks require compile-time lock checks
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 06e4e7c3a3..a62e7b18be 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1179,7 +1179,7 @@ public:
* Obviously holding cs_main/cs_wallet when going into this call may cause
* deadlock
*/
- void BlockUntilSyncedToCurrentChain() const LOCKS_EXCLUDED(cs_main, cs_wallet);
+ void BlockUntilSyncedToCurrentChain() const EXCLUSIVE_LOCKS_REQUIRED(!::cs_main, !cs_wallet);
/** set a single wallet flag */
void SetWalletFlag(uint64_t flags);