[#8051] TypeError (evaluating 'a.replace') when logging out with wallet is on 'Send transaction' screen

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Andrey Shovkoplyas 2019-04-26 13:59:58 +02:00 committed by Igor Mandrigin
parent ebccb8e020
commit 4b62490e80
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 2 additions and 1 deletions

View File

@ -94,4 +94,5 @@
:wallet.send/signing-phrase-with-padding :wallet.send/signing-phrase-with-padding
:<- [:account/account] :<- [:account/account]
(fn [{:keys [signing-phrase]}] (fn [{:keys [signing-phrase]}]
(clojure.string/replace-all signing-phrase #" " " "))) (when signing-phrase
(clojure.string/replace-all signing-phrase #" " " "))))