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 committed Jul 19, 2023
1 parent 966635a commit 23f1327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 23f1327

Please sign in to comment.