mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 15:35:10 +01:00
add capacity to channel details
This commit is contained in:
@@ -13,6 +13,7 @@ public record ChannelDetailsDto(
|
||||
ChannelPoint channelPoint,
|
||||
Pubkey remotePubkey,
|
||||
String remoteAlias,
|
||||
String capacity,
|
||||
@JsonProperty("private") boolean privateChannel,
|
||||
BalanceInformationDto balance,
|
||||
OnChainCostsDto onChainCosts
|
||||
@@ -30,6 +31,7 @@ public record ChannelDetailsDto(
|
||||
localChannel.getChannelPoint(),
|
||||
localChannel.getRemotePubkey(),
|
||||
remoteAlias,
|
||||
String.valueOf(localChannel.getCapacity().satoshis()),
|
||||
localChannel.isPrivateChannel(),
|
||||
BalanceInformationDto.createFrom(balanceInformation),
|
||||
onChainCosts
|
||||
|
||||
Reference in New Issue
Block a user