Skip to content

Commit

Permalink
[#10431] Show pending txs in keycard multiacc
Browse files Browse the repository at this point in the history
  • Loading branch information
rasom committed Apr 29, 2020
1 parent a6729ce commit 96ed1fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/status_im/signing/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@
:cb #(re-frame/dispatch [:signing/transaction-completed % tx-obj-to-send hashed-password])}})))))

(fx/defn prepare-unconfirmed-transaction
[{:keys [db now]} hash {:keys [value gasPrice gas data to from]} symbol amount]
(let [token (tokens/symbol->token (:wallet/all-tokens db) symbol)]
[{:keys [db now]} hash {:keys [value gasPrice gas data to from] :as tx} symbol amount]
(log/debug "[signing] prepare-unconfirmed-transaction")
(let [token (tokens/symbol->token (:wallet/all-tokens db) symbol)
from (eip55/address->checksum from)]
{:db (assoc-in db [:wallet :accounts from :transactions hash]
{:timestamp (str now)
:to to
Expand Down

0 comments on commit 96ed1fd

Please sign in to comment.