diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 16:41:01 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 16:41:01 +0800 |
commit | dd139452d053496d79816c881dbb59ee4aded81b (patch) | |
tree | 40c1d0b6ac7a0c794285abc64286503059a64485 /ui/app/helpers/utils/util.js | |
parent | 852df543036aac5d0d24d3a31a24818ac4c114bd (diff) | |
download | tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.gz tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.zst tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.zip |
part of replacing 'ETH'
Diffstat (limited to 'ui/app/helpers/utils/util.js')
-rw-r--r-- | ui/app/helpers/utils/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/helpers/utils/util.js b/ui/app/helpers/utils/util.js index 94fa9ad42..5f9856965 100644 --- a/ui/app/helpers/utils/util.js +++ b/ui/app/helpers/utils/util.js @@ -137,7 +137,7 @@ function parseBalance (balance) { // Takes wei hex, returns an object with three properties. // Its "formatted" property is what we generally use to render values. -function formatBalance (balance, decimalsToKeep, needsParse = true, ticker = 'ETH') { +function formatBalance (balance, decimalsToKeep, needsParse = true, ticker = 'TAN') { var parsed = needsParse ? parseBalance(balance) : balance.split('.') var beforeDecimal = parsed[0] var afterDecimal = parsed[1] |