From fbe7c63cff918abc51a6d190acb76d14d44dce09 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Jul 2017 22:16:27 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 8ef71ca5e..4e1d3f894 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -828,7 +828,7 @@ uint64_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypr { item = jitem(array,i); satoshis = SATOSHIDEN * jdouble(item,"amount"); - if ( LP_inventory_prevent(iambob,jbits256(item,"txid"),juint(item,"vout")) == 0 ) + if ( LP_inventory_prevent(iambob,jbits256(item,"txid"),juint(item,"vout")) == 0 && jint(item,"confirmations") > 0 ) values[i] = satoshis; else used++; //printf("%.8f ",dstr(satoshis));