From dbcbb5fd79d26cb842b5ff46b363cf494ce210d2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Oct 2017 11:47:05 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_utxo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index 982e45cbb..50bbfc6c8 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -698,10 +698,12 @@ int32_t LP_numconfirms(char *symbol,char *coinaddr,bits256 txid,int32_t vout,int if ( (txobj= LP_gettxout(symbol,coinaddr,txid,vout)) != 0 ) { numconfirms = jint(txobj,"confirmations"); + printf("LP_numconfirms.%d (%s)\n",numconfirms,jprint(txobj,0)); free_json(txobj); } else if ( mempool != 0 && LP_mempoolscan(symbol,txid) >= 0 ) numconfirms = 0; + else printf("LP_numconfirms cant gettxout and ignoring mempool\n"); } else {