Fix macaroon error

This commit is contained in:
Emad-salah 2019-12-10 02:36:19 +01:00 committed by GitHub
parent 59df767150
commit 808c06027f

View file

@ -413,8 +413,9 @@ module.exports = (
setTimeout(async () => { setTimeout(async () => {
try { try {
const macaroonExists = await FS.access( const macaroonExists = await FS.access(
LightningServices.servicesData.macaroonPath LightningServices.servicesConfig.macaroonPath
); );
if (!macaroonExists) { if (!macaroonExists) {
return waitUntilFileExists(seconds + 1); return waitUntilFileExists(seconds + 1);
} }