Skip to content

Commit

Permalink
Merge pull request #6172
Browse files Browse the repository at this point in the history
a1ba077 Ignore getheaders requests when not synced. (Suhas Daftuar)
  • Loading branch information
laanwj committed Jun 2, 2015
2 parents 87550ee + a1ba077 commit 88a7ead
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 88a7ead

Please sign in to comment.