From d8b6dc9fe70001edb5df7b1c14a8afb4237565bc Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Oct 2017 10:55:10 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index fd609c669..12ffb15fc 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -188,9 +188,9 @@ cJSON *LP_NXT_message(char *method,uint64_t txnum,char *passphrase) cJSON *LP_NXT_redeems() { - char url[1024],*retstr,*recv,*method,*msgstr; uint64_t txnum; int32_t i,numtx; cJSON *item,*attach,*array,*msgjson,*retjson=0; + char url[1024],*retstr,*recv,*method,*msgstr; uint64_t txnum,assetid,qty; int32_t i,numtx; cJSON *item,*attach,*array,*msgjson,*retjson=0; sprintf(url,"http://127.0.0.1:7876/nxt?requestType=getBlockchainTransactions&account=NXT-MRBN-8DFH-PFMK-A4DBM");//,NXTnodes[rand() % (sizeof(NXTnodes)/sizeof(*NXTnodes))]); - printf("calling (%s)\n",url); + //printf("calling (%s)\n",url); if ( (retstr= issue_curlt(url,LP_HTTP_TIMEOUT)) != 0 ) { if ( (retjson= cJSON_Parse(retstr)) != 0 ) @@ -200,30 +200,31 @@ cJSON *LP_NXT_redeems() for (i=0; i