parent
13d3adb651
commit
a475285a53
@ -2875,6 +2875,7 @@ bool static LoadBlockIndexDB()
|
|||||||
|
|
||||||
bool VerifyDB(int nCheckLevel, int nCheckDepth)
|
bool VerifyDB(int nCheckLevel, int nCheckDepth)
|
||||||
{
|
{
|
||||||
|
LOCK(cs_main);
|
||||||
if (chainActive.Tip() == NULL || chainActive.Tip()->pprev == NULL)
|
if (chainActive.Tip() == NULL || chainActive.Tip()->pprev == NULL)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user