From bc9f2e03851c7f83a792c962284f8fe2b607beef Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 1 Dec 2016 16:50:12 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index a2677b449..33d424505 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -457,7 +457,7 @@ int32_t komodo_block2height(CBlock *block) } //printf(" <- coinbase.%d ht.%d\n",(int32_t)block->vtx[0].vin[0].scriptSig.size(),height); } - komodo_init(height); + //komodo_init(height); return(height); } @@ -469,7 +469,7 @@ void komodo_block2pubkey33(uint8_t *pubkey33,CBlock& block) #else uint8_t *ptr = (uint8_t *)&block.vtx[0].vout[0].scriptPubKey[0]; #endif - komodo_init(0); + //komodo_init(0); n = block.vtx[0].vout[0].scriptPubKey.size(); if ( n == 35 ) memcpy(pubkey33,ptr+1,33); @@ -496,7 +496,7 @@ int32_t komodo_blockload(CBlock& block,CBlockIndex *pindex) void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) { CBlock block; - komodo_init(height); + //komodo_init(height); memset(pubkey33,0,33); if ( pindex != 0 ) {