@ -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] != '-' )
@ -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);