mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-27 23:39:46 +02:00
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.
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user