From e94abbea73072940968bc0287f8093839937677d Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Tue, 26 Sep 2023 13:22:26 -0400 Subject: [PATCH] fis: syntax error --- src/chia/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chia/rpc.js b/src/chia/rpc.js index b6d2499..df10d11 100644 --- a/src/chia/rpc.js +++ b/src/chia/rpc.js @@ -23,7 +23,7 @@ const getBaseRpcOptions = () => { key = Buffer.from(process.env.CHIA_KEY_BASE64, "base64").toString("ascii"); } else { let certificateFolderPath = - CONFIG?.GENERAL?.CERTIFICATE_FOLDER_PATH || `${chiaRoot}/config/ssl`; + CONFIG().GENERAL?.CERTIFICATE_FOLDER_PATH || `${chiaRoot}/config/ssl`; // Replace "~" with home directory if it starts the path if (certificateFolderPath.startsWith("~")) {