This commit is contained in:
jl777
2018-04-08 18:57:56 +03:00
parent 6a933d59d8
commit dbbdf7de87
2 changed files with 5 additions and 2 deletions

View File

@@ -578,6 +578,8 @@ 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 no in this chain! REWIND to %d\n",*notarizedheightp,srchash.ToString().c_str(),sp->NOTARIZED_HEIGHT);
if ( sp->NOTARIZED_HEIGHT > 0 )
KOMODO_REWIND = sp->NOTARIZED_HEIGHT - 1;
} else validated = 1;
if ( notarized != 0 && *notarizedheightp > sp->NOTARIZED_HEIGHT && *notarizedheightp < height && validated != 0 )
{