From 6a11ba537be4dc6464b38d9a9e75e24de9a00f5b Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 8 Apr 2018 22:25:29 +0300 Subject: [PATCH] Test --- src/komodo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 6a27ffb62..32fcce047 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -575,8 +575,8 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr } static int32_t last_rewind; int32_t rewindtarget,validated = 0; - CBlockIndex *pindex;//IsInitialBlockDownload() == 0 && - if ( ((pindex= mapBlockIndex[srchash]) == 0 || pindex->nHeight != *notarizedheightp) ) + CBlockIndex *pindex;// + if ( IsInitialBlockDownload() == 0 && ((pindex= mapBlockIndex[srchash]) == 0 || pindex->nHeight != *notarizedheightp) ) { if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarizedheightp ) rewindtarget = sp->NOTARIZED_HEIGHT - 1;