mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
main: fix kraken fiat api
This commit is contained in:
parent
3ca5f10fa8
commit
f3a24d92a4
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue