From 7113bd84508ebec6c2b959c3c2bc6606bbf626f7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 14 Sep 2017 18:51:52 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 83adff265..b33ae0bc6 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -779,7 +779,8 @@ cJSON *LP_inventory(char *symbol,int32_t iambob) else myipaddr = "127.0.0.1"; HASH_ITER(hh,LP_utxoinfos[iambob],utxo,tmp) { - char str[65]; printf("iambob.%d iterate %s\n",iambob,bits256_str(str,LP_mypub25519)); + char str[65]; + printf("iambob.%d iterate %s\n",iambob,bits256_str(str,LP_mypub25519)); if ( LP_isunspent(utxo) != 0 && strcmp(symbol,utxo->coin) == 0 && utxo->iambob == iambob && LP_ismine(utxo) > 0 ) { u = (iambob != 0) ? utxo->deposit : utxo->fee; @@ -787,6 +788,7 @@ cJSON *LP_inventory(char *symbol,int32_t iambob) { if ( utxo->T.spentflag == 0 ) utxo->T.spentflag = (uint32_t)time(NULL); + printf("ineligible %.8f %.8f\n",dstr(val),dstr(val2)); continue; } if ( iambob != 0 )