mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Fix comment about cs_main (IsInitialBlockDownload locks cs_main)
This commit is contained in:
parent
4633dbe026
commit
bb6eca865e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue