diff --git a/locales/en.json b/locales/en.json index 2561ce3ce..6d4f16425 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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", diff --git a/models/Channel.ts b/models/Channel.ts index 4e6cfe66b..280ff8e6e 100644 --- a/models/Channel.ts +++ b/models/Channel.ts @@ -42,6 +42,7 @@ export default class Channel extends BaseModel { capacity: string; private: boolean; initiator?: boolean; + peer_scid_alias?: number; alias_scids?: Array; // array uint64 local_chan_reserve_sat?: string; remote_chan_reserve_sat?: string; diff --git a/views/Channels/Channel.tsx b/views/Channels/Channel.tsx index 23e69afc8..efb1d55be 100644 --- a/views/Channels/Channel.tsx +++ b/views/Channels/Channel.tsx @@ -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, @@ -416,6 +417,14 @@ export default class ChannelView extends React.Component< )} /> )} + {!!peer_scid_alias && ( + + )} {zero_conf && (