Browse Source

Merge #9771: Add missing cs_wallet lock that triggers new lock held assertion

07afcd6 Add missing cs_wallet lock that triggers new lock held assertion (Russell Yanofsky)
pull/1/head
Wladimir J. van der Laan 6 years ago
parent
commit
e43a58514d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/wallet/walletdb.cpp

2
src/wallet/walletdb.cpp

@ -559,8 +559,8 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet) @@ -559,8 +559,8 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
LOCK(pwallet->cs_wallet);
try {
LOCK(pwallet->cs_wallet);
int nMinVersion = 0;
if (Read((string)"minversion", nMinVersion))
{

Loading…
Cancel
Save