mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-22 07:24:23 +01:00
add "is closed" to channel details
This commit is contained in:
@@ -17,6 +17,7 @@ public record ChannelDetailsDto(
|
||||
String capacity,
|
||||
@JsonProperty("private") boolean privateChannel,
|
||||
boolean active,
|
||||
boolean closed,
|
||||
BalanceInformationDto balance,
|
||||
OnChainCostsDto onChainCosts
|
||||
) {
|
||||
@@ -37,6 +38,7 @@ public record ChannelDetailsDto(
|
||||
String.valueOf(localChannel.getCapacity().satoshis()),
|
||||
localChannel.isPrivateChannel(),
|
||||
localChannel.isActive(),
|
||||
localChannel.isClosed(),
|
||||
BalanceInformationDto.createFrom(balanceInformation),
|
||||
onChainCosts
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user