[#21132] fix: improve estimation format
This commit is contained in:
parent
ff37cf1e71
commit
48f0af4d36
|
@ -498,8 +498,8 @@
|
|||
"Formats the estimated time for a transaction"
|
||||
[estimated-time]
|
||||
(condp = estimated-time
|
||||
(:unknown constants/wallet-transaction-estimation) "> 5"
|
||||
(:less-than-one-minute constants/wallet-transaction-estimation) "< 1"
|
||||
(:unknown constants/wallet-transaction-estimation) ">5"
|
||||
(:less-than-one-minute constants/wallet-transaction-estimation) "<1"
|
||||
(:less-than-three-minutes constants/wallet-transaction-estimation) "1-3"
|
||||
(:less-than-five-minutes constants/wallet-transaction-estimation) "3-5"
|
||||
"> 5"))
|
||||
">5"))
|
||||
|
|
|
@ -153,7 +153,6 @@
|
|||
(defn transactions->display-array
|
||||
[data]
|
||||
(remove (fn [[k v]]
|
||||
(println k " and value is " v)
|
||||
(or (= v "0x")
|
||||
(= k :MultiTransactionID)
|
||||
(= k :Symbol)))
|
||||
|
|
Loading…
Reference in New Issue