mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
fix(USD price): Switching to tor-friendly USD price lookup
This commit is contained in:
@@ -129,7 +129,7 @@ class AdminLTEPage extends React.Component {
|
||||
const myBalance = await bchWalletLib.getBalance()
|
||||
|
||||
const bchjs = bchWalletLib.bchjs
|
||||
const currentRate = await bchjs.Price.current('usd')
|
||||
const currentRate = await bchjs.Price.getUsd() * 100
|
||||
_this.setState({
|
||||
currentRate: currentRate
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user