Remove longest chain mutex
This commit is contained in:
@@ -171,7 +171,7 @@ int32_t komodo_longestchain()
|
|||||||
int32_t ht,n=0,num=0,maxheight=0,height = 0;
|
int32_t ht,n=0,num=0,maxheight=0,height = 0;
|
||||||
vector<CNodeStats> vstats;
|
vector<CNodeStats> vstats;
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
//LOCK(cs_main);
|
||||||
CopyNodeStats(vstats);
|
CopyNodeStats(vstats);
|
||||||
}
|
}
|
||||||
BOOST_FOREACH(const CNodeStats& stats, vstats)
|
BOOST_FOREACH(const CNodeStats& stats, vstats)
|
||||||
|
|||||||
Reference in New Issue
Block a user