revert code smell

This commit is contained in:
Daniel Lugo 2020-07-18 18:07:05 -04:00
parent c3441c97fd
commit 670423103b

View file

@ -25,8 +25,6 @@ const parsePath = (filePath = "") => {
const lndDirectory = getLndDirectory();
const SHOCK_SUPER_PEER = "http://gun.shock.network:8765/gun"
module.exports = (mainnet = false) => {
const network = mainnet ? "mainnet" : "testnet";
@ -50,7 +48,7 @@ module.exports = (mainnet = false) => {
logfile: "shockapi.log",
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
lndDirPath: lndDirectory,
peers: [SHOCK_SUPER_PEER],
peers: ['http://gun.shock.network:8765/gun'],
useTLS: false,
tokenExpirationMS: 4500000
};