mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Ignore getheaders requests when not synced.
This commit is contained in:
parent
2cc1372190
commit
a1ba0778dd
@ -4174,6 +4174,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
|
||||
LOCK(cs_main);
|
||||
|
||||
if (IsInitialBlockDownload())
|
||||
return true;
|
||||
|
||||
CBlockIndex* pindex = NULL;
|
||||
if (locator.IsNull())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user