bug #5899 - restored missing transaction error messages

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
Goran Jovic 2018-10-31 11:29:45 +01:00
parent 18b4bf590c
commit 8d168bf3cd
No known key found for this signature in database
GPG Key ID: D429D1A9B2EB8A8E
1 changed files with 7 additions and 10 deletions

View File

@ -167,14 +167,11 @@
{: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 {:wallet/show-transaction-error message}
message}] (navigation/navigate-back)
(navigation/navigate-back cofx))
(when on-error (when on-error
{:dispatch (conj on-error message)}))))) {:dispatch (conj on-error message)})))))