Suppress get headers call

This commit is contained in:
jl777
2018-11-24 02:56:55 -11:00
parent d348e85625
commit b6afaa34da

View File

@@ -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);