mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 18:23:45 +02:00
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)
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user