Workflow updating files of btcwallet

This commit is contained in:
RanchiMall Dev 2024-01-16 09:42:48 +00:00
parent f6be764629
commit eba749b867
2 changed files with 38 additions and 35 deletions

View File

@ -634,7 +634,6 @@
});
btcOperator.checkIfTor()
.then(isTor => {
console.log(isTor)
if (isTor)
historicPriceApis.list.push('http://omwkzk6bd6zuragdqsrhdyzgxzre7yx4vzrou4vzftintzc2dmagp6qd.onion:8257')
})
@ -1293,7 +1292,11 @@
historicPriceApis.active++
return getHistoricPrice(dates)
} else {
throw err
selectedCurrency = 'btc'
showCurrentValue = false
localStorage.setItem('btc-wallet-currency', selectedCurrency)
localStorage.setItem('btc-wallet-show-current-value', showCurrentValue)
notify('There was an error fetching historic price data. Please try again later.', 'error')
}
}
}

File diff suppressed because one or more lines are too long