wallet: Add Clang thread safety analysis annotations

This commit is contained in:
practicalswift
2018-08-26 21:48:03 +02:00
parent 1c7e25db0c
commit dee42927c9
3 changed files with 27 additions and 17 deletions

View File

@@ -1121,7 +1121,7 @@ struct tallyitem
}
};
static UniValue ListReceived(CWallet * const pwallet, const UniValue& params, bool by_label) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
static UniValue ListReceived(CWallet * const pwallet, const UniValue& params, bool by_label) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pwallet->cs_wallet)
{
// Minimum confirmations
int nMinDepth = 1;