Browse Source

Cleanup

pull/5/head
Duke Leto 4 years ago
parent
commit
f6f1579917
  1. 8
      src/main.cpp

8
src/main.cpp

@ -5694,13 +5694,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();
}
CheckBlockIndex();
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());
}*/
if (!ret && futureblock == 0) {
hush_longestchain();
return error("%s: AcceptBlock FAILED", __func__);
}

Loading…
Cancel
Save