From c198302d330b9351aef7e38e9ebaa961cf63f68b Mon Sep 17 00:00:00 2001 From: myxmaster Date: Wed, 6 Nov 2024 14:42:32 +0100 Subject: [PATCH] only console.log Pending HTLCs if existing --- stores/ChannelsStore.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stores/ChannelsStore.ts b/stores/ChannelsStore.ts index 7506bc03d..9b615ce6a 100644 --- a/stores/ChannelsStore.ts +++ b/stores/ChannelsStore.ts @@ -363,7 +363,9 @@ export default class ChannelsStore { } } - console.log('Pending HTLCs', this.pendingHTLCs); + if (this.pendingHTLCs.length > 0) { + console.log('Pending HTLCs', this.pendingHTLCs); + } this.loading = false; return channels;