From d961342710d2601d648910123b67e79ecb8e6300 Mon Sep 17 00:00:00 2001 From: mgarciate Date: Wed, 26 Jun 2024 00:22:08 +0200 Subject: [PATCH] Fix #106 Revoke the requirement to have enough tokens to register the node --- build/ui/src/components/Setup/RegisterNode.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build/ui/src/components/Setup/RegisterNode.tsx b/build/ui/src/components/Setup/RegisterNode.tsx index 7138686..35f6068 100644 --- a/build/ui/src/components/Setup/RegisterNode.tsx +++ b/build/ui/src/components/Setup/RegisterNode.tsx @@ -149,12 +149,6 @@ const RegisterNode: React.FC = ({ } }; - const enoughTokens = () => { - return ( - enoughEthBalance(data?.nodeStatus, data?.networkRplPrice) && enoughRpl - ); - }; - function ErrorAlertBox(): JSX.Element { return ( <> @@ -217,7 +211,6 @@ const RegisterNode: React.FC = ({