Return headers even if initial download

This commit is contained in:
jl777
2018-11-23 05:30:43 -11:00
parent 3abe9b46d9
commit 60157d2f02

View File

@@ -6842,7 +6842,7 @@ fprintf(stderr,"netmsg: %s\n", strCommand.c_str());
LOCK(cs_main);
if (IsInitialBlockDownload())
if (chainActive.LastTip() != 0 && chainActive.LastTip().GetHeight() > 100000 && IsInitialBlockDownload())
{
fprintf(stderr,"dont process getheaders during initial download\n");
return true;