Skip to content

Commit

Permalink
fix: lightning channel type update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Oct 19, 2023
1 parent 0703047 commit 40637b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/lightning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};

0 comments on commit 40637b1

Please sign in to comment.