diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index eabe4f14b..70109a70c 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -375,7 +375,7 @@ double LP_getestimatedrate(struct iguana_info *coin) { sprintf(buf,"[%d]",3); printf("estimate fee\n"); - if ( (retstr= LP_apicall(coin,"estimatefee",buf)) != 0 ) + if ( (retstr= LP_apicall(coin,coin->electrum==0?"estimatefee" : "blockchain.estimatefee",buf)) != 0 ) { if ( retstr[0] != '-' ) { diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 552e71c9b..031539a9f 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -665,7 +665,7 @@ cJSON *LP_electrumserver(struct iguana_info *coin,char *ipaddr,uint16_t port) jaddstr(retjson,"result","success"); jaddstr(retjson,"status","already there"); } - printf("(%s)\n",jprint(retjson,0)); + //printf("(%s)\n",jprint(retjson,0)); return(retjson); }