From 584903aa09944bebea005e3666da44755fb50ae4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Mar 2016 20:42:21 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 12169f08c..9446dfbbc 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -297,13 +297,13 @@ uint32_t iguana_ramchain_addtxid(struct iguana_info *coin,RAMCHAIN_FUNC,bits256 iguana_sparseaddtx(TXbits,ramchain->H.data->txsparsebits,ramchain->H.data->numtxsparse,txid,T,txidind); //if ( txidind <= 2 ) // printf("%p TXID.[%d] firstvout.%d/%d firstvin.%d/%d\n",t,txidind,ramchain->unspentind,numvouts,ramchain->spendind,numvins); - } - if ( ramchain->expanded != 0 ) - { - if ( (ptr= iguana_hashsetPT(ramchain,'T',t->txid.bytes,txidind)) == 0 ) + if ( ramchain->expanded != 0 ) { - printf("iguana_ramchain_addtxid error adding txidind\n"); - return(0); + if ( (ptr= iguana_hashsetPT(ramchain,'T',t->txid.bytes,txidind)) == 0 ) + { + printf("iguana_ramchain_addtxid error adding txidind\n"); + return(0); + } } } return(txidind);