Fix comment about cs_main (IsInitialBlockDownload locks cs_main)

This commit is contained in:
Matt Corallo 2015-04-16 13:50:46 -07:00
parent 4633dbe026
commit bb6eca865e

View file

@ -4641,7 +4641,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
}
}
TRY_LOCK(cs_main, lockMain); // Acquire cs_main for IsInitialBlockDownload() and CNodeState()
TRY_LOCK(cs_main, lockMain); // Acquire cs_main for CNodeState()
if (!lockMain)
return true;