fix: add missing decimal places number
This commit is contained in:
parent
ea44478b48
commit
2cafe074b2
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ function sendCoins (account, tx, settings, operatorId) {
|
|||
.then(({ data }) => {
|
||||
if (data.error && data.error.errorCode === 'sc-001') throw new E.InsufficientFundsError()
|
||||
else if (data.error) throw new Error(JSON.stringify(data.error))
|
||||
const fee = new BN(data.fee).decimalPlaces()
|
||||
const fee = new BN(data.fee).decimalPlaces(0)
|
||||
const txid = data.txid
|
||||
return { txid, fee }
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue