mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 12:55:03 +00:00
bug #5224 - showing gas info in unconfirmed transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
d7bd95dc64
commit
b9142e45f6
@ -140,12 +140,12 @@
|
|||||||
(assoc :confirmations "0"
|
(assoc :confirmations "0"
|
||||||
:timestamp (str now)
|
:timestamp (str now)
|
||||||
:type :outbound
|
:type :outbound
|
||||||
:hash hash)
|
:hash hash
|
||||||
|
:value (:amount transaction)
|
||||||
|
:token token
|
||||||
|
:gas-limit (str (:gas transaction)))
|
||||||
(update :gas-price str)
|
(update :gas-price str)
|
||||||
(assoc :value (:amount transaction))
|
(dissoc :message-id :id :gas)))))
|
||||||
(assoc :token token)
|
|
||||||
(update :gas str)
|
|
||||||
(dissoc :message-id :id)))))
|
|
||||||
|
|
||||||
(defn handle-transaction-error [db {:keys [code message]}]
|
(defn handle-transaction-error [db {:keys [code message]}]
|
||||||
(let [{:keys [dapp-transaction]} (get-in db [:wallet :send-transaction])]
|
(let [{:keys [dapp-transaction]} (get-in db [:wallet :send-transaction])]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user