From 40637b13698fab2547d4cb4924ea5cff5017bf23 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 19 Oct 2023 12:03:39 +0200 Subject: [PATCH] fix: lightning channel type update --- src/hooks/lightning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/lightning.ts b/src/hooks/lightning.ts index 5b32d91c1..9a32edda2 100644 --- a/src/hooks/lightning.ts +++ b/src/hooks/lightning.ts @@ -140,6 +140,6 @@ export const useLightningChannelName = ( return `Connection ${index + 1}`; } else { const shortChannelId = ellipsis(channel.channel_id, 10); - return channel.inbound_scid_alias?.toString() ?? shortChannelId; + return channel.inbound_scid_alias ?? shortChannelId; } };