|
|
@ -205,9 +205,10 @@ int32_t iguana_volatileupdate(struct iguana_info *coin,int32_t incremental,struc |
|
|
|
else |
|
|
|
{ |
|
|
|
printf("from.%d vs current.%d\n",fromheight,coin->current->bundleheight); |
|
|
|
iguana_bundleremove(coin,spent_hdrsi,0); |
|
|
|
iguana_bundleremove(coin,fromheight/coin->chain->bundlesize,0); |
|
|
|
} |
|
|
|
if ( coin->current != 0 && spent_hdrsi != coin->current->hdrsi ) |
|
|
|
iguana_bundleremove(coin,spent_hdrsi,0); |
|
|
|
exit(-1); |
|
|
|
} else printf("volatileupdate error null rdata [%d]\n",spentchain->height/coin->current->bundleheight); |
|
|
|
return(-1); |
|
|
|