From e156b049a53d34e6ba7dff950772b6fb87db5e5a Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 18 Oct 2016 13:48:03 -0300 Subject: [PATCH] test --- src/komodo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index baec135ac..a2fee3c5e 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -27,7 +27,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp) { // 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS // -1 -> invalid, ie, prior to notarized block - /*CBlock block; int32_t height; char *coinbasestr; + CBlock block; int32_t height; char *coinbasestr; if ( pindex == 0 ) return(0); if ( ReadBlockFromDisk(block,pindex,1) == 0 ) @@ -36,8 +36,8 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp) { height = pindex->nHeight; coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str(); - //printf("ht.%d (%s)\n",height,coinbasestr); - }*/ + printf("komodo_blockindexcheck ht.%d (%s)\n",height,coinbasestr); + } // compare against elected notary pubkeys as of height return(0); }