added tls.cert debug

This commit is contained in:
Agustin Kassis 2020-04-01 20:43:36 -03:00
parent 305559174f
commit 9be413a549

View File

@ -10,6 +10,7 @@ if (process.env.TLSCERT) {
} else { } else {
lndCert = fs.readFileSync('tls.cert'); lndCert = fs.readFileSync('tls.cert');
} }
console.log('using tls.cert', lndCert.toString('hex'));
let sslCreds = grpc.credentials.createSsl(lndCert); let sslCreds = grpc.credentials.createSsl(lndCert);
let macaroon; let macaroon;
if (process.env.MACAROON) { if (process.env.MACAROON) {