mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
Get rid of -Wthread-safety-precise warnings
This commit is contained in:
@@ -746,7 +746,7 @@ UniValue dumpwallet(const JSONRPCRequest& request)
|
||||
// the user could have gotten from another RPC command prior to now
|
||||
wallet.BlockUntilSyncedToCurrentChain();
|
||||
|
||||
LOCK2(pwallet->cs_wallet, spk_man.cs_KeyStore);
|
||||
LOCK2(wallet.cs_wallet, spk_man.cs_KeyStore);
|
||||
|
||||
EnsureWalletIsUnlocked(&wallet);
|
||||
|
||||
@@ -769,7 +769,7 @@ UniValue dumpwallet(const JSONRPCRequest& request)
|
||||
|
||||
std::map<CKeyID, int64_t> mapKeyBirth;
|
||||
const std::map<CKeyID, int64_t>& mapKeyPool = spk_man.GetAllReserveKeys();
|
||||
pwallet->GetKeyBirthTimes(mapKeyBirth);
|
||||
wallet.GetKeyBirthTimes(mapKeyBirth);
|
||||
|
||||
std::set<CScriptID> scripts = spk_man.GetCScripts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user