From a65d54c549a2733d9841bc792a93ba5d0544cba5 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sun, 28 Aug 2022 08:37:25 +0200 Subject: [PATCH] Update log tag to show the network if non mainnet --- backend/src/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/logger.ts b/backend/src/logger.ts index ea7e8cd3d..63774d513 100644 --- a/backend/src/logger.ts +++ b/backend/src/logger.ts @@ -74,7 +74,7 @@ class Logger { private getNetwork(): string { if (config.LIGHTNING.ENABLED) { - return 'lightning'; + return config.MEMPOOL.NETWORK === 'mainnet' ? 'lightning' : `${config.MEMPOOL.NETWORK}-lightning`; } if (config.BISQ.ENABLED) { return 'bisq';