This commit is contained in:
jl777
2018-04-25 15:09:12 +03:00
parent 265660f7cb
commit 6bb74a0256
2 changed files with 2 additions and 2 deletions

View File

@@ -169,9 +169,9 @@ int32_t KOMODO_LONGESTCHAIN;
int32_t komodo_longestchain()
{
int32_t ht,n=0,num=0,maxheight=0,height = 0;
vector<CNodeStats> vstats;
{
LOCK(cs_main);
vector<CNodeStats> vstats;
CopyNodeStats(vstats);
}
BOOST_FOREACH(const CNodeStats& stats, vstats)