mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
parent
13d3adb651
commit
a475285a53
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue