Compare commits
1 Commits
v2.5.0-dev
...
v2.5.0-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb8fdb5e8d |
@@ -24,9 +24,8 @@ class LndApi implements AbstractLightningApi {
|
|||||||
timeout: config.LND.TIMEOUT
|
timeout: config.LND.TIMEOUT
|
||||||
};
|
};
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
config.LIGHTNING.ENABLED = false;
|
|
||||||
logger.updateNetwork();
|
|
||||||
logger.err(`Could not initialize LND Macaroon/TLS Cert. Disabling LIGHTNING. ` + (e instanceof Error ? e.message : e));
|
logger.err(`Could not initialize LND Macaroon/TLS Cert. Disabling LIGHTNING. ` + (e instanceof Error ? e.message : e));
|
||||||
|
config.LIGHTNING.ENABLED = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -69,10 +69,6 @@ class Logger {
|
|||||||
this.network = this.getNetwork();
|
this.network = this.getNetwork();
|
||||||
}
|
}
|
||||||
|
|
||||||
public updateNetwork(): void {
|
|
||||||
this.network = this.getNetwork();
|
|
||||||
}
|
|
||||||
|
|
||||||
private addprio(prio): void {
|
private addprio(prio): void {
|
||||||
this[prio] = (function(_this) {
|
this[prio] = (function(_this) {
|
||||||
return function(msg, tag?: string) {
|
return function(msg, tag?: string) {
|
||||||
|
|||||||
@@ -10,9 +10,7 @@ cp /etc/nginx/nginx.conf /patch/nginx.conf
|
|||||||
sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf
|
sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf
|
||||||
cat /patch/nginx.conf > /etc/nginx/nginx.conf
|
cat /patch/nginx.conf > /etc/nginx/nginx.conf
|
||||||
|
|
||||||
if [ "${LIGHTNING_DETECTED_PORT}" = "9735" ];then
|
[ "${APP_LIGHTNING_NODE_PORT}" = "9735" ] && LIGHTNING=true
|
||||||
export LIGHTNING=true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Runtime overrides - read env vars defined in docker compose
|
# Runtime overrides - read env vars defined in docker compose
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user