[#10369] App freezes on transaction signing after entering wrong password
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
7ad49c3670
commit
37028c62a2
|
@ -335,7 +335,9 @@
|
||||||
{:events [:signing/transaction-completed]
|
{:events [:signing/transaction-completed]
|
||||||
:interceptors [(re-frame/inject-cofx :random-id-generator)]}
|
:interceptors [(re-frame/inject-cofx :random-id-generator)]}
|
||||||
[cofx response tx-obj hashed-password]
|
[cofx response tx-obj hashed-password]
|
||||||
(let [cofx-in-progress-false (assoc-in cofx [:db :signing/in-progress?] false)
|
(let [cofx-in-progress-false (-> cofx
|
||||||
|
(assoc-in [:db :signing/in-progress?] false)
|
||||||
|
(assoc-in [:db :signing/sign :in-progress?] false))
|
||||||
{:keys [result error]} (types/json->clj response)]
|
{:keys [result error]} (types/json->clj response)]
|
||||||
(log/debug "transaction-completed" error tx-obj)
|
(log/debug "transaction-completed" error tx-obj)
|
||||||
(if error
|
(if error
|
||||||
|
|
Loading…
Reference in New Issue