diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-28 09:55:39 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-28 09:55:39 +0300 |
commit | 9cc6eb3c9e0eb1d5be26fb81cc5595c131fec8f4 (patch) | |
tree | c0aa1be553ac3713d8832edb6eeba7a08b223360 /src/wallet/rpcdump.cpp | |
parent | 971a468ccf0474ca00fa7d20278569b8fb11f0fb (diff) | |
download | bitcoin-9cc6eb3c9e0eb1d5be26fb81cc5595c131fec8f4.tar.xz |
Get rid of -Wthread-safety-precise warnings
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 7bf3d169c3..d5f6d63a46 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -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(); |