Cleanup
This commit is contained in:
@@ -5694,13 +5694,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
|
|||||||
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();
|
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();
|
||||||
}
|
}
|
||||||
CheckBlockIndex();
|
CheckBlockIndex();
|
||||||
if (!ret && futureblock == 0)
|
if (!ret && futureblock == 0) {
|
||||||
{
|
|
||||||
/*if ( SMART_CHAIN_SYMBOL[0] == 0 )
|
|
||||||
{
|
|
||||||
//fprintf(stderr,"request headers from failed process block peer\n");
|
|
||||||
pfrom->PushMessage("getheaders", chainActive.GetLocator(chainActive.LastTip()), uint256());
|
|
||||||
}*/
|
|
||||||
hush_longestchain();
|
hush_longestchain();
|
||||||
return error("%s: AcceptBlock FAILED", __func__);
|
return error("%s: AcceptBlock FAILED", __func__);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user