diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-04 19:55:44 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-05 08:42:15 +0200 |
commit | fa5eabe72117f6e3704858e8d5b2c57a120258ed (patch) | |
tree | d211dad9c0328c1da3f04f090eb4e44d02560d78 /src/wallet/wallet.h | |
parent | ad4bf8a94594e7fe424e409ba9474d91584bb78c (diff) |
refactor: Remove negative lock annotations from globals
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
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); |