Skip to content

Commit 88a7ead

Browse files
committed
Merge pull request #6172
a1ba077 Ignore getheaders requests when not synced. (Suhas Daftuar)
2 parents 87550ee + a1ba077 commit 88a7ead

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4255,6 +4255,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
42554255

42564256
LOCK(cs_main);
42574257

4258+
if (IsInitialBlockDownload())
4259+
return true;
4260+
42584261
CBlockIndex* pindex = NULL;
42594262
if (locator.IsNull())
42604263
{

0 commit comments

Comments
 (0)