Test
This commit is contained in:
@@ -580,7 +580,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
fprintf(stderr,"FORK detected. notarized.%d %s not in this chain! REWIND to %d\n",*notarizedheightp,srchash.ToString().c_str(),sp->NOTARIZED_HEIGHT);
|
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 < *notarizedheightp )
|
if ( sp->NOTARIZED_HEIGHT > 0 && sp->NOTARIZED_HEIGHT < *notarizedheightp )
|
||||||
KOMODO_REWIND = sp->NOTARIZED_HEIGHT - 1;
|
KOMODO_REWIND = sp->NOTARIZED_HEIGHT - 1;
|
||||||
else if ( *notarized_heightp > 101 )
|
else if ( *notarizedheightp > 101 )
|
||||||
KOMODO_REWIND = *notarized_heightp - 101;
|
KOMODO_REWIND = *notarized_heightp - 101;
|
||||||
} else validated = 1;
|
} else validated = 1;
|
||||||
if ( notarized != 0 && *notarizedheightp > sp->NOTARIZED_HEIGHT && *notarizedheightp < height && validated != 0 )
|
if ( notarized != 0 && *notarizedheightp > sp->NOTARIZED_HEIGHT && *notarizedheightp < height && validated != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user