mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
[#10431] Show pending txs in keycard multiacc
This commit is contained in:
parent
a6729ce8c5
commit
96ed1fdeb9
@ -107,8 +107,10 @@
|
|||||||
:cb #(re-frame/dispatch [:signing/transaction-completed % tx-obj-to-send hashed-password])}})))))
|
:cb #(re-frame/dispatch [:signing/transaction-completed % tx-obj-to-send hashed-password])}})))))
|
||||||
|
|
||||||
(fx/defn prepare-unconfirmed-transaction
|
(fx/defn prepare-unconfirmed-transaction
|
||||||
[{:keys [db now]} hash {:keys [value gasPrice gas data to from]} symbol amount]
|
[{:keys [db now]} hash {:keys [value gasPrice gas data to from] :as tx} symbol amount]
|
||||||
(let [token (tokens/symbol->token (:wallet/all-tokens db) symbol)]
|
(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]
|
{:db (assoc-in db [:wallet :accounts from :transactions hash]
|
||||||
{:timestamp (str now)
|
{:timestamp (str now)
|
||||||
:to to
|
:to to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user