From 39ea685adc3493c8943a86fb47e314601cbc0000 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 7 Feb 2020 18:43:07 +0200 Subject: [PATCH] [#9975] Do not throw exception on invalid ens recipient --- src/status_im/wallet/choose_recipient/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/wallet/choose_recipient/core.cljs b/src/status_im/wallet/choose_recipient/core.cljs index 90a587ced45..15cf506cf8f 100644 --- a/src/status_im/wallet/choose_recipient/core.cljs +++ b/src/status_im/wallet/choose_recipient/core.cljs @@ -96,7 +96,7 @@ {:events [:wallet.send/set-recipient ::recipient-address-resolved]} [{:keys [db]} raw-recipient] (let [chain (ethereum/chain-keyword db) - recipient (string/trim raw-recipient)] + recipient (when raw-recipient (string/trim raw-recipient))] (cond (ethereum/address? recipient) (let [checksum (eip55/address->checksum recipient)]