Skip to content

Commit

Permalink
Channel: add Peer Alias SCID
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Dec 22, 2024
1 parent 1c2afd3 commit 32bc912
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
"views.Channel.confirmClose": "Confirm Channel Close",
"views.Channel.aliasScid": "Alias SCID",
"views.Channel.aliasScids": "Alias SCIDs",
"views.Channel.peerAliasScid": "Peer Alias SCID",
"views.Channel.closeHeight": "Close height",
"views.Channel.closeType": "Close type",
"views.Channel.openInitiator": "Open initiator",
Expand Down
9 changes: 9 additions & 0 deletions views/Channels/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ export default class ChannelView extends React.Component<
shortChannelId,
initiator,
alias_scids,
peer_scid_alias,
local_chan_reserve_sat,
remote_chan_reserve_sat,
displayName,
Expand Down Expand Up @@ -416,6 +417,14 @@ export default class ChannelView extends React.Component<
)}
/>
)}
{!!peer_scid_alias && (
<KeyValue
keyValue={localeString(
'views.Channel.peerAliasScid'
)}
value={PrivacyUtils.sensitiveValue(peer_scid_alias)}
/>
)}
{zero_conf && (
<KeyValue
keyValue={localeString('views.Channel.zeroConf')}
Expand Down

0 comments on commit 32bc912

Please sign in to comment.