fix No second Wallet screen when send two Tx one after another in Dapps
This commit is contained in:
parent
19fc26c1c2
commit
e9bc937f9a
|
@ -133,7 +133,10 @@
|
||||||
{:keys [payload message-id] :as queued-transaction} (last transactions-queue)
|
{:keys [payload message-id] :as queued-transaction} (last transactions-queue)
|
||||||
{:keys [method params id]} payload
|
{:keys [method params id]} payload
|
||||||
db' (update-in db [:wallet :transactions-queue] drop-last)]
|
db' (update-in db [:wallet :transactions-queue] drop-last)]
|
||||||
(when (and (not (= :wallet-transaction-sent (:view-id db))) (not (:id send-transaction)) queued-transaction)
|
(when (and (not (contains? #{:wallet-transaction-sent
|
||||||
|
:wallet-transaction-sent-modal}
|
||||||
|
(:view-id db)))
|
||||||
|
(not (:id send-transaction)) queued-transaction)
|
||||||
(cond
|
(cond
|
||||||
|
|
||||||
;;SEND TRANSACTION
|
;;SEND TRANSACTION
|
||||||
|
|
Loading…
Reference in New Issue