mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
tweek
This commit is contained in:
parent
9132f08507
commit
bd6ee81d09
@ -98,7 +98,6 @@ function parseBalance(balance) {
|
|||||||
// Takes wei hex, returns "None" or "${formattedAmount} ETH"
|
// Takes wei hex, returns "None" or "${formattedAmount} ETH"
|
||||||
function formatBalance(balance, decimalsToKeep) {
|
function formatBalance(balance, decimalsToKeep) {
|
||||||
var parsed = parseBalance(balance)
|
var parsed = parseBalance(balance)
|
||||||
console.log(parsed)
|
|
||||||
var beforeDecimal = parsed[0]
|
var beforeDecimal = parsed[0]
|
||||||
var afterDecimal = parsed[1]
|
var afterDecimal = parsed[1]
|
||||||
var formatted = "None"
|
var formatted = "None"
|
||||||
|
Loading…
Reference in New Issue
Block a user