1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Merge branch 'master' of github.com:MetaMask/metamask-plugin

This commit is contained in:
Kevin Serrano 2016-07-18 12:14:44 -07:00
commit aaf3ff8b82

View File

@ -96,7 +96,7 @@ function formatBalance (balance, decimalsToKeep) {
var parsed = parseBalance(balance)
var beforeDecimal = parsed[0]
var afterDecimal = parsed[1]
var formatted
var formatted = 'None'
if (decimalsToKeep === undefined) {
if (beforeDecimal === '0') {
if (afterDecimal !== '0') {