diff options
-rw-r--r-- | test/unit/util_test.js | 2 | ||||
-rw-r--r-- | ui/app/util.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/util_test.js b/test/unit/util_test.js index e2390c8d4..c114e3bcf 100644 --- a/test/unit/util_test.js +++ b/test/unit/util_test.js @@ -142,7 +142,7 @@ describe('util', function() { it('when given nothing', function() { var result = util.formatBalance() - assert.equal(result, 'None', 'should return "None"') + assert.equal(result, '0 ETH', 'should return "0 ETH"') }) it('should return eth as string followed by ETH', function() { diff --git a/ui/app/util.js b/ui/app/util.js index db12a1282..4181b096f 100644 --- a/ui/app/util.js +++ b/ui/app/util.js @@ -99,7 +99,7 @@ function formatBalance (balance, decimalsToKeep) { var parsed = parseBalance(balance) var beforeDecimal = parsed[0] var afterDecimal = parsed[1] - var formatted = 'None' + var formatted = '0 ETH' if (decimalsToKeep === undefined) { if (beforeDecimal === '0') { if (afterDecimal !== '0') { |