From bc93f83ea7900426e794b7952ac754681ad3bba5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 29 May 2017 19:39:39 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index a32b0232a..ec25ae6d6 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -149,8 +149,8 @@ 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); - if ( (retstr= bitcoind_passthru(symbol,coin->serverport,coin->userpass,"importaddress",buf)) != 0 ) + sprintf(buf,"[%d]",3); + if ( (retstr= bitcoind_passthru(symbol,coin->serverport,coin->userpass,"estimatefee",buf)) != 0 ) { rate = atof(retstr); printf("estimated rate %s -> %llu\n",retstr,(long long)rate);