use gun not guntest, dont remote balance (?)
This commit is contained in:
parent
cee3377a75
commit
0f2cea3478
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ module.exports = (mainnet = false) => {
|
||||||
logfile: "shockapi.log",
|
logfile: "shockapi.log",
|
||||||
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
||||||
lndDirPath: lndDirectory,
|
lndDirPath: lndDirectory,
|
||||||
peers: ["http://guntest.shock.network:8765/gun"],
|
peers: ["http://gun.shock.network:8765/gun"],
|
||||||
tokenExpirationMS: 4500000
|
tokenExpirationMS: 4500000
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1480,7 +1480,7 @@ module.exports = async (
|
||||||
remoteBalance = remoteBalance.plus(Big(element.remote_balance))
|
remoteBalance = remoteBalance.plus(Big(element.remote_balance))
|
||||||
})
|
})
|
||||||
newInvoice.liquidityCheck = remoteBalance > req.body.value
|
newInvoice.liquidityCheck = remoteBalance > req.body.value
|
||||||
newInvoice.remoteBalance = remoteBalance
|
//newInvoice.remoteBalance = remoteBalance
|
||||||
res.json(newInvoice);
|
res.json(newInvoice);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue