From cbc3270d9e50e7620088d38e75797381cf7f61b9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 2 Jul 2017 15:22:27 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index 20b4fa222..6307a80cf 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -33,7 +33,7 @@ struct LP_transaction *LP_transactionadd(struct iguana_info *coin,bits256 txid,i if ( (tx= LP_transactionfind(coin,txid)) == 0 ) { char str[65]; printf("%s ht.%d u.%u NEW TXID.(%s) vouts.[%d]\n",coin->symbol,height,timestamp,bits256_str(str,txid),numvouts); - if ( tx->height == 0 ) + if ( bits256_nonz(txid) == 0 && tx->height == 0 ) getchar(); tx = calloc(1,sizeof(*tx) + (sizeof(*tx->outpoints) * numvouts)); for (i=0; i