mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-12 18:44:38 +00:00
Use 6 decimals for ETH balance everywhere on UI
This commit is contained in:
parent
c111350396
commit
76c91d7342
@ -213,7 +213,7 @@
|
||||
+ key total-usd -> current total USD value for all funds"
|
||||
[bounty-addr]
|
||||
(let [token-balances (multisig/token-balances bounty-addr)
|
||||
eth-balance (read-string (eth/get-balance-eth bounty-addr 4))
|
||||
eth-balance (read-string (eth/get-balance-eth bounty-addr 6))
|
||||
all-funds
|
||||
(merge token-balances
|
||||
{:ETH eth-balance})]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
(defn eth-decimal->str [n]
|
||||
(format "%.4f" n))
|
||||
(format "%.6f" n))
|
||||
|
||||
(defn usd-decimal->str [n]
|
||||
(format "%.2f" n))
|
||||
|
Loading…
x
Reference in New Issue
Block a user