diff --git a/src/components/GraphChannelList/index.tsx b/src/components/GraphChannelList/index.tsx index 901c57c69..480b9705b 100644 --- a/src/components/GraphChannelList/index.tsx +++ b/src/components/GraphChannelList/index.tsx @@ -131,7 +131,7 @@ const GraphChannelList: FC<{ list: Fiber.Graph.Channel[]; isFullWidth?: boolean;
ID
- {`0x${channel.node1.slice( + {`0x${channel.node1.slice( 0, 8, )}...${channel.node1.slice(-8)}`} @@ -155,7 +155,7 @@ const GraphChannelList: FC<{ list: Fiber.Graph.Channel[]; isFullWidth?: boolean;
ID
- {`0x${channel.node2.slice( + {`0x${channel.node2.slice( 0, 8, )}...${channel.node2.slice(-8)}`} diff --git a/src/services/ExplorerService/fetcher.ts b/src/services/ExplorerService/fetcher.ts index a5fa4339d..2a10199fe 100644 --- a/src/services/ExplorerService/fetcher.ts +++ b/src/services/ExplorerService/fetcher.ts @@ -1277,6 +1277,7 @@ export const apiFetcher = { `/fiber/graph_channels?${new URLSearchParams({ page: page.toString(), page_size: pageSize.toString(), + status: 'open', })}`, ) .then(res => @@ -1561,7 +1562,6 @@ export namespace Fiber { totalCapacity: string connectedNodeIds: string[] openChannelsCount: number - channelLinksCount: number } export interface Channel {