Suppress get headers call
This commit is contained in:
@@ -5192,11 +5192,11 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
|
||||
CheckBlockIndex();
|
||||
if (!ret && futureblock == 0)
|
||||
{
|
||||
if ( KOMODO_INSYNC == 0 )
|
||||
/*if ( KOMODO_INSYNC == 0 )
|
||||
{
|
||||
//fprintf(stderr,"request headers from failed process block peer\n");
|
||||
pfrom->PushMessage("getheaders", chainActive.GetLocator(chainActive.LastTip()), uint256());
|
||||
}
|
||||
}*/
|
||||
return error("%s: AcceptBlock FAILED", __func__);
|
||||
}
|
||||
//else fprintf(stderr,"added block %s %p\n",pindex->GetBlockHash().ToString().c_str(),pindex->pprev);
|
||||
|
||||
Reference in New Issue
Block a user