From b7e3419ebf9422cdd9a986992f05281f117dd531 Mon Sep 17 00:00:00 2001 From: Ben Kero Date: Wed, 15 Aug 2018 14:06:42 -0700 Subject: [PATCH] Move static-nodes.json write location This commit moves the static-nodes.json file from being written to $DATADIR/geth/static-nodes.json to $DATADIR/static-nodes.json. Testing from bkero and kjowiak confirmed that the file is actually read from $DATADIR/ --- app/ethWallet-geth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ethWallet-geth.js b/app/ethWallet-geth.js index 53fbefe8e1a..794fbe8964e 100644 --- a/app/ethWallet-geth.js +++ b/app/ethWallet-geth.js @@ -30,7 +30,7 @@ const pwPath = path.join(gethDataDir, 'wallets.pw') const gethProcessPath = path.join(getExtensionsPath('bin'), gethProcessKey) const configurePeers = async (dataDir) => { - const staticNodePath = path.join(dataDir, 'geth', 'static-nodes.json') + const staticNodePath = path.join(dataDir, 'static-nodes.json') try { const discoveryDomain = `_enode._tcp.${envNet}.${envSubDomain}.brave.com` let newNodes = await dns.resolveSrv(discoveryDomain)