mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
main: fix kraken fiat api
This commit is contained in:
parent
3ca5f10fa8
commit
f3a24d92a4
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 New Issue
Block a user