Ignore getheaders requests when not synced.

Rebased-From: a1ba0778dd3c784046dea334e5d39f37eca264f7
Github-Pull: #6172
This commit is contained in:
Suhas Daftuar
2015-05-21 13:29:09 -04:00
committed by Wladimir J. van der Laan
parent 75a4d512cf
commit b4bbad18ef

View File

@@ -4255,6 +4255,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
LOCK(cs_main);
if (IsInitialBlockDownload())
return true;
CBlockIndex* pindex = NULL;
if (locator.IsNull())
{