bug #5899 - restored missing transaction error messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
18b4bf590c
commit
8d168bf3cd
|
@ -167,16 +167,13 @@
|
||||||
{:db (-> db
|
{:db (-> db
|
||||||
(assoc-in [:wallet :send-transaction :wrong-password?] true))}
|
(assoc-in [:wallet :send-transaction :wrong-password?] true))}
|
||||||
|
|
||||||
(merge (let [cofx {:db
|
(fx/merge {:db (-> db
|
||||||
(-> db
|
(assoc-in [:wallet :transactions-queue] nil)
|
||||||
(assoc-in [:wallet :transactions-queue] nil)
|
(assoc-in [:wallet :send-transaction] {}))}
|
||||||
(assoc-in [:wallet :send-transaction] {}))
|
{:wallet/show-transaction-error message}
|
||||||
:wallet/show-transaction-error
|
(navigation/navigate-back)
|
||||||
message}]
|
(when on-error
|
||||||
(navigation/navigate-back cofx))
|
{:dispatch (conj on-error message)})))))
|
||||||
|
|
||||||
(when on-error
|
|
||||||
{:dispatch (conj on-error message)})))))
|
|
||||||
|
|
||||||
(defn transform-data-for-message [{:keys [method] :as transaction}]
|
(defn transform-data-for-message [{:keys [method] :as transaction}]
|
||||||
(cond-> transaction
|
(cond-> transaction
|
||||||
|
|
Loading…
Reference in New Issue