From 07c7c8d4bc06f43ca5198b19de646ca8fef858ad Mon Sep 17 00:00:00 2001 From: CalDescent <> Date: Fri, 25 Feb 2022 12:20:50 +0000 Subject: [PATCH] Removed enableManagement logic in ApiKeyUtils as it is no longer needed, and was creating problems on testnet. --- qortal-ui-core/src/apiKeyUtils.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qortal-ui-core/src/apiKeyUtils.js b/qortal-ui-core/src/apiKeyUtils.js index d64ab5cb..8349b36b 100644 --- a/qortal-ui-core/src/apiKeyUtils.js +++ b/qortal-ui-core/src/apiKeyUtils.js @@ -6,11 +6,6 @@ import mykey from './functional-components/mykey-page.js' export const checkApiKey = async (nodeConfig) => { let selectedNode = nodeConfig.knownNodes[nodeConfig.node]; - if (selectedNode.enableManagement === false) { - console.log("Skipping API key check because enableManagement is false"); - return; - } - let apiKey = selectedNode.apiKey; // Attempt to generate an API key