fix: XMR balance shifting
This commit is contained in:
parent
45173e7c0e
commit
99c37a0f24
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ function accountBalance (cryptoCode) {
|
|||
.then(() => refreshWallet())
|
||||
.then(() => fetch('get_balance', { account_index: 0, address_indices: [0] }))
|
||||
.then(res => {
|
||||
return BN(res.unlocked_balance).shiftedBy(unitScale).decimalPlaces(0)
|
||||
return BN(res.unlocked_balance).decimalPlaces(0)
|
||||
})
|
||||
.catch(err => handleError(err))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue