From f6f15799170532ce177a29a275b951b5b0ba3807 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 8 Dec 2020 20:38:27 -0500 Subject: [PATCH] Cleanup --- src/main.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e550d9cb2..012ec8c4f 100644 --- a/src/main.cpp +++ b/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__); }