Merge pull request #3143

8ad5fd4 main: wizard: console.log fixes (selsta)
This commit is contained in:
luigi1111
2020-10-13 12:37:55 -05:00
2 changed files with 1 additions and 2 deletions

View File

@@ -1299,7 +1299,7 @@ ApplicationWindow {
function fiatApiConvertToFiat(amount) {
var ticker = persistentSettings.fiatPriceCurrency === "xmrusd" ? appWindow.fiatPriceXMRUSD : appWindow.fiatPriceXMREUR;
if(ticker <= 0){
console.log(fiatApiError("Invalid ticker value: " + ticker));
fiatApiError("Invalid ticker value: " + ticker);
return "?.??";
}
return (amount * ticker).toFixed(2);