fixed bcha price display

This commit is contained in:
Daniel Gonzalez
2020-11-18 21:39:56 -04:00
parent 7ee6eb9890
commit 616a2eaca4
3 changed files with 3 additions and 3 deletions
@@ -295,7 +295,7 @@ class Servers extends React.Component {
let currentRate
if (bchjs.restURL.includes('abc.fullstack')) {
currentRate = await bchjs.Price.getBchaUsd()
currentRate = await bchjs.Price.getBchaUsd() * 100
} else {
// BCHN price.
currentRate = (await bchjs.Price.getUsd()) * 100
+1 -1
View File
@@ -136,7 +136,7 @@ class AdminLTEPage extends React.Component {
let currentRate
if (bchjs.restURL.includes('abc.fullstack')) {
currentRate = await bchjs.Price.getBchaUsd()
currentRate = await bchjs.Price.getBchaUsd() * 100
} else {
// BCHN price.
currentRate = (await bchjs.Price.getUsd()) * 100
+1 -1
View File
@@ -151,7 +151,7 @@ class ImportWallet extends React.Component {
let currentRate
if (bchjs.restURL.includes('abc.fullstack')) {
currentRate = await bchjs.Price.getBchaUsd()
currentRate = await bchjs.Price.getBchaUsd() * 100
} else {
// BCHN price.
currentRate = (await bchjs.Price.getUsd()) * 100