From 0f102ea7e379876f3bd2e5dbf04e51298318ac97 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Apr 2018 12:14:11 +0300 Subject: [PATCH] Test --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 632e6f723..8ee3236ba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4147,11 +4147,11 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo } // Store to disk CBlockIndex *pindex = NULL; - /*if ( ASSETCHAINS_STAKED != 0 ) // or other low node count networks + if ( ASSETCHAINS_STAKED != 0 ) // or other low node count networks { //komodo_ensure(pblock->hashPrevBlock); komodo_ensure(pblock,hash); - }*/ + } bool ret = AcceptBlock(*pblock, state, &pindex, fRequested, dbp); if (pindex && pfrom) { mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();