Update lib/plugins/wallet/monerod/monerod.js
Co-authored-by: chaotixkilla <chaotixkilla@users.noreply.github.com>
This commit is contained in:
parent
4b604ba698
commit
1c3c3f84ff
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,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).round()
|
||||
return BN(res.unlocked_balance).shiftedBy(unitScale).decimalPlaces(0)
|
||||
})
|
||||
.catch(err => handleError(err))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue