Browse Source

Test

etomic
jl777 8 years ago
parent
commit
85bb64e219
  1. 2
      iguana/exchanges/LP_rpc.c

2
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); char buf[512],*retstr; uint64_t rate = 200; struct iguana_info *coin = LP_coinfind(symbol);
if ( coin != 0 ) if ( coin != 0 )
{ {
sprintf(buf,"[%d]",3); sprintf(buf,"[\"%d\"]",3);
if ( (retstr= bitcoind_passthru(symbol,coin->serverport,coin->userpass,"importaddress",buf)) != 0 ) if ( (retstr= bitcoind_passthru(symbol,coin->serverport,coin->userpass,"importaddress",buf)) != 0 )
{ {
rate = atof(retstr); rate = atof(retstr);

Loading…
Cancel
Save