Skip to content

Commit

Permalink
updates for no private key
Browse files Browse the repository at this point in the history
  • Loading branch information
monkins1010 authored and Asherda committed Aug 7, 2023
1 parent 831773f commit 1a39424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/native/verusbridge/vethconf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1a39424

Please sign in to comment.