aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc/util.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2024-06-20 18:43:38 +0000
committerCory Fields <cory-nospam-@coryfields.com>2024-06-20 18:45:32 +0000
commit5729dbbb7424d02c5e5bc4f2eb340fdc1c0100b4 (patch)
tree1f5ebfd42ae9a41548615412c470f4329b2be4ed /src/wallet/rpc/util.cpp
parenta961ad1bebc54912b88d072abf22ab7d3cf46bf1 (diff)
downloadbitcoin-5729dbbb7424d02c5e5bc4f2eb340fdc1c0100b4.tar.xz
refactor: remove extraneous lock annotations from function definitions
These annotations belong in the declarations rather than the definitions. While harmless now, future versions of clang may warn about these.
Diffstat (limited to 'src/wallet/rpc/util.cpp')
-rw-r--r--src/wallet/rpc/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/util.cpp b/src/wallet/rpc/util.cpp
index eb23c4555b..67b5ae0fe2 100644
--- a/src/wallet/rpc/util.cpp
+++ b/src/wallet/rpc/util.cpp
@@ -179,7 +179,7 @@ void HandleWalletError(const std::shared_ptr<CWallet> wallet, DatabaseStatus& st
}
}
-void AppendLastProcessedBlock(UniValue& entry, const CWallet& wallet) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
+void AppendLastProcessedBlock(UniValue& entry, const CWallet& wallet)
{
AssertLockHeld(wallet.cs_wallet);
UniValue lastprocessedblock{UniValue::VOBJ};