mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Respond to getheaders even in IBD mode
This commit is contained in:
parent
5f88da386c
commit
405363c75e
1 changed files with 2 additions and 2 deletions
|
|
@ -1717,10 +1717,10 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
|||
vRecv >> locator >> hashStop;
|
||||
|
||||
LOCK(cs_main);
|
||||
if (IsInitialBlockDownload() && !pfrom->fWhitelisted) {
|
||||
/*if (IsInitialBlockDownload() && !pfrom->fWhitelisted) {
|
||||
LogPrint("net", "Ignoring getheaders from peer=%d because node is in initial block download\n", pfrom->id);
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
|
||||
CNodeState *nodestate = State(pfrom->GetId());
|
||||
const CBlockIndex* pindex = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue