From 6a963f8680e25cc8da66484f83b082ff231e6670 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Apr 2018 15:40:54 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index f075c95c3..1909bd3f2 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -752,8 +752,15 @@ void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) } } } - } else pindex->notaryid = -1; - } fprintf(stderr,"error loading height.%d block.%d notaryid.%d\n",height,pindex->nHeight,pindex->notaryid); + } + else + { + for (i=0; i<33; i++) + fprintf(stderr,"%02x",pindex->pubkey33[i]); + pindex->notaryid = -1; + fprintf(stderr," error loading height.%d block.%d notaryid.%d\n",height,pindex->nHeight,pindex->notaryid); + } + } fprintf(stderr," error loading height.%d block.%d notaryid.%d\n",height,pindex->nHeight,pindex->notaryid); } else {