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