Update lightningServices.js

This commit is contained in:
Emad-salah 2019-12-10 02:34:13 +01:00 committed by GitHub
parent e3a1a1f454
commit 59df767150

View file

@ -31,6 +31,10 @@ class LightningServices {
return this.lnServicesData; return this.lnServicesData;
} }
get servicesConfig() {
return this.config;
}
init = async () => { init = async () => {
const { macaroonPath, lndHost, lndCertPath } = this.config; const { macaroonPath, lndHost, lndCertPath } = this.config;
const macaroonExists = await FS.access(macaroonPath); const macaroonExists = await FS.access(macaroonPath);