From 3c127f8bccf1eb3de971a3367b01edcdbe5a320c Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 4 Apr 2018 16:31:01 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_instantdex.c | 2 +- iguana/exchanges/LP_utxo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_instantdex.c b/iguana/exchanges/LP_instantdex.c index 6c04d424d..2bf8c5ef8 100644 --- a/iguana/exchanges/LP_instantdex.c +++ b/iguana/exchanges/LP_instantdex.c @@ -456,7 +456,7 @@ int32_t LP_claim_submit(void *ctx,cJSON *txids,int64_t *sump,struct iguana_info interest = dstr(satoshis) - dstr(LP_value_extract(vout0,0,utxotxid)); else interest = dstr(LP_komodo_interest(utxotxid,satoshis)); jaddnum(item,"interest",interest); - printf("%.8f %.8f %.8f\n",dstr(satoshis),dstr(LP_value_extract(vout0,0,utxotxid)),dstr(LP_komodo_interest(utxotxid,satoshis))); + //printf("%.8f %.8f %.8f\n",dstr(satoshis),dstr(LP_value_extract(vout0,0,utxotxid)),dstr(LP_komodo_interest(utxotxid,satoshis))); if ( claimtime <= expiration ) { printf("iter.%d j.%d claimtime.%u vs %u, wait %d seconds to %s claim %.8f\n",iter,j,claimtime,expiration,(int32_t)expiration-claimtime,bits256_str(str,utxotxid),dstr(satoshis)); diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index df6c17bc5..d51602958 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -225,7 +225,7 @@ uint64_t LP_value_extract(cJSON *obj,int32_t addinterest,bits256 utxotxid) else { interest = LP_komodo_interest(utxotxid,value); - char str[65]; printf("(%s) txid.%s %.8f + %.8f\n",jprint(obj,0),bits256_str(str,utxotxid),dstr(value),dstr(interest)); + //char str[65]; printf("(%s) txid.%s %.8f + %.8f\n",jprint(obj,0),bits256_str(str,utxotxid),dstr(value),dstr(interest)); value += interest; } }