diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-07-08 03:39:07 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-07-08 03:39:07 +0800 |
commit | cd8ae4b5ff5405e4129df897559cc35066492ea7 (patch) | |
tree | eb06881f49eafa8fe04dc718bd9759f68532664d /ui/app/util.js | |
parent | 0a6560bd5dcadd9dbdb96546b9273be0bb063916 (diff) | |
download | tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.gz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.bz2 tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.lz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.xz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.zst tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.zip |
Change function name to generateBalanceObject
Diffstat (limited to 'ui/app/util.js')
-rw-r--r-- | ui/app/util.js | 4 |
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] |