Merge pull request #6172

a1ba077 Ignore getheaders requests when not synced. (Suhas Daftuar)
This commit is contained in:
Wladimir J. van der Laan 2015-06-02 07:54:07 +02:00
commit 88a7ead5de
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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