Update <lightning> log tag to show the network if non mainnet
This commit is contained in:
1 parent
2d07dea18f
commit
d11d28dc20
1 file changed
+1
-1
@@ -74,7 +74,7 @@ class Logger {
|
|||||||
|
|
||||||
private getNetwork(): string {
|
private getNetwork(): string {
|
||||||
if (config.LIGHTNING.ENABLED) {
|
if (config.LIGHTNING.ENABLED) {
|
||||||
return 'lightning';
|
return config.MEMPOOL.NETWORK === 'mainnet' ? 'lightning' : `${config.MEMPOOL.NETWORK}-lightning`;
|
||||||
}
|
}
|
||||||
if (config.BISQ.ENABLED) {
|
if (config.BISQ.ENABLED) {
|
||||||
return 'bisq';
|
return 'bisq';
|
||||||
|
|||||||
Reference in new issue
Block a user