fix low balance notification

This commit is contained in:
Josh Harvey 2016-04-27 21:53:25 +01:00
parent 6ee2566588
commit c531a4c3fd
2 changed files with 1 additions and 3 deletions

View file

@ -442,7 +442,7 @@ exports.fiatBalance = function fiatBalance (cryptoCode) {
var unitScale = new BigNumber(10).pow(coins[cryptoCode].unitScale)
var fiatTransferBalance = lastBalance.div(unitScale).times(rate).div(lowBalanceMargin)
return fiatTransferBalance.toFixed(3)
return fiatTransferBalance.round(3).toNumber()
}
/*