From 4883a3c8fb0367c59e938daecf2306a0aa73dcbc Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 18 Oct 2017 11:43:10 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 7 ++++++- iguana/exchanges/LP_nativeDEX.c | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 87f493035..6b6dc5df9 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -271,7 +271,12 @@ dividends(coin, height, )\n\ if ( (ptr= LP_coinsearch(coin)) != 0 ) { if ( ptr->userpass[0] == 0 ) - return(clonestr("{\"error\":\"couldnt find coin locally installed\"}")); + { + cJSON *retjson = cJSON_CreateObject(); + jaddstr(retjson,"error","couldnt find coin locally installed"); + jaddstr(retjson,"coin",coin); + return(jprint(retjson,1)); + } if ( LP_conflicts_find(ptr) == 0 ) { ptr->inactive = 0; diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 5a4df4fc6..4d2888eb2 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -24,6 +24,7 @@ // process stats.log local file // verify portfolio, pricearray, interest to KMD withdraw + // deal with offline pubkeys, reputations, etc. // alice only coins GAME UNO BTM ANC: GAME BTCD PPC RDD XZC POT EAC FTC BASH SPR WDC UNO XPM XCN BELA CHC DIME MEC NAUT MED AUR MAX DGC RIC EB3 DOT BTM GEO ANC CANN ICASH WBB SRC PTC ADZ TIPS EQT START EFL FST FJC NYC GCN