chore: update big number package

This commit is contained in:
José Oliveira 2021-06-15 22:34:36 +01:00 committed by Josh Harvey
parent 8aa18dd21c
commit ea44478b48
30 changed files with 186 additions and 144 deletions

View file

@ -38,7 +38,7 @@ function balance (acount, cryptoCode, settings, operatorId) {
.then(c => c.channelBalance({}))
.then(_.get('balance'))
.then(BN)
.then(r => r.shift(unitScale).round())
.then(r => r.shiftedBy(unitScale).decimalPlaces(0))
}
function sendCoins (account, tx, settings, operatorId) {