[#21132] fix: improve estimation format

This commit is contained in:
Mohsen 2024-09-24 10:52:38 +03:00
parent ff37cf1e71
commit 48f0af4d36
No known key found for this signature in database
GPG Key ID: 20BACCB8426033CE
2 changed files with 3 additions and 4 deletions

View File

@ -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"))

View File

@ -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)))