From 23f1327bbe6f2f39ce2f15275492338b737929c5 Mon Sep 17 00:00:00 2001 From: Chris <34682781+monkins1010@users.noreply.github.com> Date: Wed, 19 Jul 2023 15:13:25 +0100 Subject: [PATCH] updates for no private key --- gui/Verus-Desktop-GUI | 2 +- routes/api/native/verusbridge/vethconf.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/Verus-Desktop-GUI b/gui/Verus-Desktop-GUI index 957a2977..b855d25d 160000 --- a/gui/Verus-Desktop-GUI +++ b/gui/Verus-Desktop-GUI @@ -1 +1 @@ -Subproject commit 957a297750cc9a9a940e9d1e653d3aad62d146fd +Subproject commit b855d25d36dbf9837f361cf1d8257c492bdf5d14 diff --git a/routes/api/native/verusbridge/vethconf.js b/routes/api/native/verusbridge/vethconf.js index 464baa41..20a0ea8a 100644 --- a/routes/api/native/verusbridge/vethconf.js +++ b/routes/api/native/verusbridge/vethconf.js @@ -106,7 +106,7 @@ module.exports = (api) => { api.log("(veth.conf) file found at: " + confPath, "vethconf"); for (const [key, value] of Object.entries(Config)) { if ((_match = _data.match(`${key}` + "=\\n*(.*)"))) { - if (_match[1] != "empty") { + if (_match[1] != "empty" || key == "privatekey") { Config[key] = _match[1]; } else { api.log("Empty veth.conf file value: " + `${key}:"empty" `, "vethconf");