From 7b0be31f691d5ab1135167f6c0fb0e5a752e52b0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 20 Oct 2016 13:29:14 -0300 Subject: [PATCH] test --- src/komodo.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 797100e59..28d904031 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -548,16 +548,16 @@ int32_t komodo_block2height(CBlock *block) int32_t i,n,height = 0; uint8_t *ptr = (uint8_t *)block->vtx[0].vin[0].scriptSig.data(); if ( block->vtx[0].vin[0].scriptSig.size() > 5 ) { - for (i=0; i<6; i++) - printf("%02x",ptr[i]); + //for (i=0; i<6; i++) + // printf("%02x",ptr[i]); n = ptr[0]; for (i=0; ivtx[0].vin[0].scriptSig.size(),height); + //printf(" <- coinbase.%d ht.%d\n",(int32_t)block->vtx[0].vin[0].scriptSig.size(),height); } return(height); } @@ -582,7 +582,7 @@ void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) else { // height -> pubkey33 - printf("unexpected komodo_index2pubkey33 height.%d need to get pubkey33\n",height); + //printf("unexpected komodo_index2pubkey33 height.%d need to get pubkey33\n",height); } }