From 6c93ad75b277bd504a027917ba59038a63a9feb9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 8 Apr 2018 19:40:37 +0300 Subject: [PATCH] Test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index efded0840..985e28a21 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -578,7 +578,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr if ( (pindex= mapBlockIndex[srchash]) == 0 || pindex->nHeight != *notarizedheightp ) { fprintf(stderr,"FORK detected. notarized.%d %s not in this chain! REWIND to %d\n",*notarizedheightp,srchash.ToString().c_str(),sp->NOTARIZED_HEIGHT); - if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarized_heightp ) + if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarizedheightp ) KOMODO_REWIND = sp->NOTARIZED_HEIGHT - 1; else if ( *notarized_heightp > 101 ) KOMODO_REWIND = *notarized_heightp - 101;