From 12221ea06709f773915c6260b452e6497c908afd Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 14 Mar 2022 09:20:18 +0100 Subject: [PATCH] [#13164] Warning 'Registration process has finished in invalid state' is shown for any ENS while typing it in profile Signed-off-by: andrey --- src/status_im/ens/core.cljs | 2 +- src/status_im/ui/screens/ens/views.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/ens/core.cljs b/src/status_im/ens/core.cljs index 9e9b5d4eb5..56efe508f8 100644 --- a/src/status_im/ens/core.cljs +++ b/src/status_im/ens/core.cljs @@ -139,7 +139,7 @@ (cond (not public-key) :owned (string/ends-with? % "0000000000000000000000000000000000000000000000000000000000000000") - :invalid + :invalid-ens (= % public-key) :connected :else :connected-with-different-key) (eip55/address->checksum response)])) diff --git a/src/status_im/ui/screens/ens/views.cljs b/src/status_im/ui/screens/ens/views.cljs index d061f17a6d..b8e6469f0b 100644 --- a/src/status_im/ui/screens/ens/views.cljs +++ b/src/status_im/ui/screens/ens/views.cljs @@ -150,7 +150,7 @@ [help-message-text-element :t/ens-username-owned :t/ens-username-connected-with-different-key] - :invalid + :invalid-ens [help-message-text-element :t/ens-username-owned :t/ens-username-registration-invalid]