From e380da4ba24b273dcbf32e0343cb329bca889733 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Mon, 6 Dec 2021 15:32:09 +0000 Subject: [PATCH] undo hard-coded data --- nym-wallet/src/hooks/useCheckOwnership.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nym-wallet/src/hooks/useCheckOwnership.ts b/nym-wallet/src/hooks/useCheckOwnership.ts index 2319b9f1f4..d2b5d1c224 100644 --- a/nym-wallet/src/hooks/useCheckOwnership.ts +++ b/nym-wallet/src/hooks/useCheckOwnership.ts @@ -19,7 +19,7 @@ export const useCheckOwnership = () => { const ownsMixnode = await checkMixnodeOwnership() const ownsGateway = await checkGatewayOwnership() - if (true) { + if (ownsMixnode) { status.hasOwnership = true status.nodeType = EnumNodeType.mixnode }