This commit is contained in:
jl777
2018-04-08 21:56:37 +03:00
parent 8d787d2580
commit 576f0b157f

View File

@@ -574,8 +574,8 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
notarized = 1; notarized = 1;
} }
int32_t validated = 0; int32_t validated = 0;
CBlockIndex *pindex; CBlockIndex *pindex;//IsInitialBlockDownload() == 0 &&
if ( IsInitialBlockDownload() == 0 && ((pindex= mapBlockIndex[srchash]) == 0 || pindex->nHeight != *notarizedheightp) ) if ( ((pindex= mapBlockIndex[srchash]) == 0 || pindex->nHeight != *notarizedheightp) )
{ {
static int32_t last_rewind; int32_t rewindtarget; static int32_t last_rewind; int32_t rewindtarget;
if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarizedheightp ) if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarizedheightp )