From 422317a7ae35da8646bb9d2537936bd506803cc5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 May 2018 18:04:23 +0300 Subject: [PATCH] Coinmarketcap v2 api --- crypto777/iguana_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto777/iguana_utils.c b/crypto777/iguana_utils.c index 05897a953..41eefc8e3 100755 --- a/crypto777/iguana_utils.c +++ b/crypto777/iguana_utils.c @@ -1147,7 +1147,7 @@ void calc_rmd160_sha256(uint8_t rmd160[20],uint8_t *data,int32_t datalen) char *cmc_ticker(char *base) { char url[512]; - sprintf(url,"https://api.coinmarketcap.com/v1/ticker/%s/",base); + sprintf(url,"https://api.coinmarketcap.com/v2/ticker/%s/",base); return(issue_curl(url)); }