aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-04 19:55:44 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-04-05 08:42:15 +0200
commitfa5eabe72117f6e3704858e8d5b2c57a120258ed (patch)
treed211dad9c0328c1da3f04f090eb4e44d02560d78 /src/wallet/wallet.h
parentad4bf8a94594e7fe424e409ba9474d91584bb78c (diff)
downloadbitcoin-fa5eabe72117f6e3704858e8d5b2c57a120258ed.tar.xz
refactor: Remove negative lock annotations from globals
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 6031d36b97..192fd60dc2 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1181,7 +1181,7 @@ public:
* Obviously holding cs_main/cs_wallet when going into this call may cause
* deadlock
*/
- void BlockUntilSyncedToCurrentChain() const EXCLUSIVE_LOCKS_REQUIRED(!::cs_main, !cs_wallet);
+ void BlockUntilSyncedToCurrentChain() const LOCKS_EXCLUDED(::cs_main) EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet);
/** set a single wallet flag */
void SetWalletFlag(uint64_t flags);