From 518b3c5f2e62b6dea62bb46e98cbd05d3b943e57 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 17 Jun 2017 17:56:17 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 2 ++ iguana/exchanges/LP_swap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index a3f65d7cb..a23528166 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -456,6 +456,7 @@ char *LP_connectedalice(cJSON *argjson) // alice jaddnum(retjson,"quoteid",Q.R.quoteid); } else jaddstr(retjson,"error","couldnt aliceloop"); } + printf("connected result.(%s)\n",jprint(retjson,0)); if ( jobj(retjson,"error") != 0 ) LP_availableset(autxo); return(jprint(retjson,1)); @@ -463,6 +464,7 @@ char *LP_connectedalice(cJSON *argjson) // alice else { LP_availableset(autxo); + printf("no privkey found\n"); return(clonestr("{\"error\",\"no privkey\"}")); } } diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index 201ed38f0..688ec46d7 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -414,7 +414,7 @@ int32_t LP_waitfor(int32_t pairsock,struct basilisk_swap *swap,int32_t timeout,i nn_freemsg(data); //printf("retval.%d\n",retval); return(retval); - } else printf("error nn_recv\n"); + } // else printf("error nn_recv\n"); } printf("waitfor timedout\n"); return(retval);