diff --git a/src/komodo.h b/src/komodo.h index 45c7d67a7..27a8acd22 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -291,7 +291,7 @@ int32_t komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numno if ( fwrite(&txhash,1,sizeof(txhash),fp) != sizeof(txhash) ) errs++; } - else + else if ( height != 0 ) { //printf("func N ht.%d errs.%d\n",NOTARIZED_HEIGHT,errs); fputc('N',fp); @@ -538,8 +538,9 @@ int32_t komodo_block2height(CBlock *block) n = ptr[0]; for (i=0; ivtx[0].vin[0].scriptSig.size(),height); }