bug #5224 - showing gas info in unconfirmed transactions

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
Goran Jovic 2018-08-19 11:58:54 +02:00
parent d7bd95dc64
commit b9142e45f6
No known key found for this signature in database
GPG Key ID: D429D1A9B2EB8A8E
1 changed files with 5 additions and 5 deletions

View File

@ -140,12 +140,12 @@
(assoc :confirmations "0"
:timestamp (str now)
:type :outbound
:hash hash)
:hash hash
:value (:amount transaction)
:token token
:gas-limit (str (:gas transaction)))
(update :gas-price str)
(assoc :value (:amount transaction))
(assoc :token token)
(update :gas str)
(dissoc :message-id :id)))))
(dissoc :message-id :id :gas)))))
(defn handle-transaction-error [db {:keys [code message]}]
(let [{:keys [dapp-transaction]} (get-in db [:wallet :send-transaction])]