main: fix kraken fiat api

This commit is contained in:
selsta 2021-01-11 00:29:48 +01:00
parent 3ca5f10fa8
commit f3a24d92a4
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

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";