Browse Source

Add missing cs_main lock to VerifyDB

Fixes issue #4139.
try
Wladimir J. van der Laan 11 years ago
parent
commit
a475285a53
No known key found for this signature in database GPG Key ID: 74810B012346C9A6
  1. 1
      src/main.cpp

1
src/main.cpp

@ -2875,6 +2875,7 @@ bool static LoadBlockIndexDB()
bool VerifyDB(int nCheckLevel, int nCheckDepth)
{
LOCK(cs_main);
if (chainActive.Tip() == NULL || chainActive.Tip()->pprev == NULL)
return true;

Loading…
Cancel
Save