Merge pull request #3298

f3a24d9 main: fix kraken fiat api (selsta)
This commit is contained in:
luigi1111 2021-01-20 22:41:21 -05:00
commit 5261f79e9f
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1150,7 +1150,7 @@ ApplicationWindow {
}
var key = currency === "xmreur" ? "XXMRZEUR" : "XXMRZUSD";
var ticker = resp.result[key]["o"];
var ticker = resp.result[key]["c"][0];
return ticker;
} else if(url.startsWith("https://api.coingecko.com/api/v3/")){
var key = currency === "xmreur" ? "eur" : "usd";