This commit is contained in:
jl777
2019-07-02 01:41:54 -11:00
parent ce86a489eb
commit 0a1234cb91

View File

@@ -355,7 +355,7 @@ namespace {
CBlockIndex *pindex; CBlockIndex *pindex;
if ( (pindex= chainActive.LastTip()) != 0 ) if ( (pindex= chainActive.LastTip()) != 0 )
return pindex->GetHeight(); return pindex->GetHeight();
else return(-1); else return(0);
} }
void UpdatePreferredDownload(CNode* node, CNodeState* state) void UpdatePreferredDownload(CNode* node, CNodeState* state)