From 85bb64e21908d76a0aa33bf3cdffc31255f767f6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 29 May 2017 19:38:26 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 486ffce72..a32b0232a 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -149,7 +149,7 @@ uint64_t LP_getestimatedrate(char *symbol) char buf[512],*retstr; uint64_t rate = 200; struct iguana_info *coin = LP_coinfind(symbol); if ( coin != 0 ) { - sprintf(buf,"[%d]",3); + sprintf(buf,"[\"%d\"]",3); if ( (retstr= bitcoind_passthru(symbol,coin->serverport,coin->userpass,"importaddress",buf)) != 0 ) { rate = atof(retstr);