Browse Source

Ignore getheaders requests when not synced.

0.13
Suhas Daftuar 9 years ago
parent
commit
a1ba0778dd
  1. 3
      src/main.cpp

3
src/main.cpp

@ -4174,6 +4174,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, @@ -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…
Cancel
Save