Ignore getheaders requests when not synced.

This commit is contained in:
Suhas Daftuar 2015-05-21 13:29:09 -04:00
parent 2cc1372190
commit a1ba0778dd

View File

@ -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())
{