bug fixes

This commit is contained in:
Josh Harvey 2017-07-09 23:37:23 +03:00
parent 5987f288a7
commit 836e6a8cf0
3 changed files with 7 additions and 3 deletions

View file

@ -14,7 +14,7 @@ let t0
function _balance (cryptoCode) {
const cryptoRec = coinUtils.getCryptoCurrency(cryptoCode)
const unitScale = cryptoRec.unitScale
BN(10).shift(unitScale).round()
return BN(10).shift(unitScale).round()
}
function balance (account, cryptoCode) {