From a7d39411e812712c599d26f4cdcee291f22f9629 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 16 Sep 2017 14:31:32 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_utxo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index 06f28f819..b79a851c4 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -124,7 +124,9 @@ void LP_address_utxoadd(struct iguana_info *coin,char *coinaddr,bits256 txid,int up->U.value = value; up->spendheight = spendheight; DL_APPEND(ap->utxos,up); - char str[65]; printf(">>>>>>>>>> %s %s/v%d ht.%d %.8f\n",coin->symbol,bits256_str(str,txid),vout,height,dstr(value)); + char str[65]; + if ( height > 0 ) + printf(">>>>>>>>>> %s %s/v%d ht.%d %.8f\n",coin->symbol,bits256_str(str,txid),vout,height,dstr(value)); } } portable_mutex_unlock(&coin->txmutex);