From 6dabcca455aa2c916f89944b1269d6ee98d32541 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 20 Oct 2016 10:25:04 -0300 Subject: [PATCH] test --- src/komodo.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); }