diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2024-06-20 18:43:38 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2024-06-20 18:45:32 +0000 |
commit | 5729dbbb7424d02c5e5bc4f2eb340fdc1c0100b4 (patch) | |
tree | 1f5ebfd42ae9a41548615412c470f4329b2be4ed /src/validation.cpp | |
parent | a961ad1bebc54912b88d072abf22ab7d3cf46bf1 (diff) |
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/validation.cpp')
-rw-r--r-- | src/validation.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index c34d60f137..3e9ba08bb1 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1849,7 +1849,6 @@ PackageMempoolAcceptResult MemPoolAccept::AcceptPackage(const Package& package, MempoolAcceptResult AcceptToMemoryPool(Chainstate& active_chainstate, const CTransactionRef& tx, int64_t accept_time, bool bypass_limits, bool test_accept) - EXCLUSIVE_LOCKS_REQUIRED(::cs_main) { AssertLockHeld(::cs_main); const CChainParams& chainparams{active_chainstate.m_chainman.GetParams()}; |