use gun not guntest, dont remote balance (?)

This commit is contained in:
boufni95 2020-07-13 21:17:47 +02:00
parent cee3377a75
commit 0f2cea3478
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ module.exports = (mainnet = false) => {
logfile: "shockapi.log",
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
lndDirPath: lndDirectory,
peers: ["http://guntest.shock.network:8765/gun"],
peers: ["http://gun.shock.network:8765/gun"],
tokenExpirationMS: 4500000
};
};

View file

@ -1480,7 +1480,7 @@ module.exports = async (
remoteBalance = remoteBalance.plus(Big(element.remote_balance))
})
newInvoice.liquidityCheck = remoteBalance > req.body.value
newInvoice.remoteBalance = remoteBalance
//newInvoice.remoteBalance = remoteBalance
res.json(newInvoice);
});
} else {