aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/util.js')
-rw-r--r--ui/app/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/util.js b/ui/app/util.js
index d686cf2c3..befb2aad8 100644
--- a/ui/app/util.js
+++ b/ui/app/util.js
@@ -26,7 +26,7 @@ module.exports = {
numericBalance: numericBalance,
parseBalance: parseBalance,
formatBalance: formatBalance,
- mainBalanceObject: mainBalanceObject,
+ generateBalanceObject: generateBalanceObject,
dataSize: dataSize,
readableDate: readableDate,
ethToWei: ethToWei,
@@ -118,7 +118,7 @@ function formatBalance (balance, decimalsToKeep) {
return formatted
}
-function mainBalanceObject (formattedBalance) {
+function generateBalanceObject (formattedBalance) {
var balance = formattedBalance.split(' ')[0]
var label = formattedBalance.split(' ')[1]
var beforeDecimal = balance.split('.')[0]