From 34c4def24a95525bf2d5985624b8efd4e87662e6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 Aug 2017 01:26:09 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_scan.c | 4 ++++ iguana/exchanges/snapshot | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index 539570913..27a173126 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -204,11 +204,15 @@ cJSON *LP_snapshot(struct iguana_info *coin,int32_t height) { struct LP_transaction *tx,*tmp; int32_t i,ht; uint64_t balance=0; cJSON *retjson,*array; for (ht=1; httxmutex); HASH_ITER(hh,coin->transactions,tx,tmp) { diff --git a/iguana/exchanges/snapshot b/iguana/exchanges/snapshot index 71bf61c95..4e88851fd 100755 --- a/iguana/exchanges/snapshot +++ b/iguana/exchanges/snapshot @@ -1,2 +1,2 @@ source userpass -curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"snapshot\",\"coin\":\"KMD\",\:height\":2000}" +curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"snapshot\",\"coin\":\"KMD\",\"height\":2000}"