From 319110dcab1a24263bf3d58b6d43e33651214eba Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 14 Sep 2017 21:22:38 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_scan.c | 2 +- iguana/exchanges/LP_utxos.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index 24586897f..534c76548 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -127,7 +127,7 @@ int32_t LP_transactioninit(struct iguana_info *coin,bits256 txid,int32_t iter) vouts = jarray(&numvouts,txobj,"vout"); if ( iter == 0 && vouts != 0 && (tx= LP_transactionadd(coin,txid,height,numvouts,numvins)) != 0 ) { - printf("create txid numvouts.%d numvins.%d\n",numvouts,numvins); + //printf("create txid numvouts.%d numvins.%d\n",numvouts,numvins); for (i=0; ioutpoints[vout].spendheight > 0 ) + utxo->T.spentflag = tx->outpoints[vout].spendheight; + else utxo->T.spentflag = 0; + } if ( utxo->T.spentflag != 0 ) { char str[65]; printf("prevent adding iambob.%d %s/v%d to inventory\n",iambob,bits256_str(str,txid),vout);