diff --git a/crypto777/OS_portable.h b/crypto777/OS_portable.h index 06a06116c..9da753811 100755 --- a/crypto777/OS_portable.h +++ b/crypto777/OS_portable.h @@ -425,6 +425,7 @@ bits256 bits256_sha256(bits256 data); void bits256_rmd160(uint8_t rmd160[20],bits256 data); void bits256_rmd160_sha256(uint8_t rmd160[20],bits256 data); double get_theoretical(double *avebidp,double *aveaskp,double *highbidp,double *lowaskp,double *CMC_averagep,double changes[3],char *name,char *base,char *rel,double *USD_averagep); +char *bitcoind_RPCnew(void *curl_handle,char **retstrp,char *debugstr,char *url,char *userpass,char *command,char *params,int32_t timeout); extern char *Iguana_validcommands[]; extern bits256 GENESIS_PUBKEY,GENESIS_PRIVKEY; diff --git a/crypto777/bitcoind_RPC.c b/crypto777/bitcoind_RPC.c index d75d277d3..f3a11b02e 100755 --- a/crypto777/bitcoind_RPC.c +++ b/crypto777/bitcoind_RPC.c @@ -311,7 +311,7 @@ try_again: } } -char *bitcoind_RPCnew(CURL *curl_handle,char **retstrp,char *debugstr,char *url,char *userpass,char *command,char *params,int32_t timeout) +char *bitcoind_RPCnew(void *curl_handle,char **retstrp,char *debugstr,char *url,char *userpass,char *command,char *params,int32_t timeout) { static int count,count2; static double elapsedsum,elapsedsum2; extern int32_t USE_JAY; struct MemoryStruct chunk; diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index cd8210b24..1bfa4f4b5 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -2028,7 +2028,7 @@ char *bitcoind_passthru(char *coinstr,char *serverport,char *userpass,char *meth { if ( userpass[0] == 0 ) return(clonestr("{\"error\":\"no rpcusername rpcpassword in coin.conf\"}")); - return(bitcoind_passthrut(0,coinstr,serverport,userpass,method,params,4)); + return(bitcoind_passthrut(coinstr,serverport,userpass,method,params,4)); //return(bitcoind_RPC(0,coinstr,serverport,userpass,method,params,4)); }