mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Greenfield: Extend LN GetInfo data (#4167)
Matching the data added in btcpayserver/BTCPayServer.Lightning#97.
This commit is contained in:
@@ -46,7 +46,14 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
return Ok(new LightningNodeInformationData
|
||||
{
|
||||
BlockHeight = info.BlockHeight,
|
||||
NodeURIs = info.NodeInfoList.Select(nodeInfo => nodeInfo).ToArray()
|
||||
NodeURIs = info.NodeInfoList.Select(nodeInfo => nodeInfo).ToArray(),
|
||||
Alias = info.Alias,
|
||||
Color = info.Color,
|
||||
Version = info.Version,
|
||||
PeersCount = info.PeersCount,
|
||||
ActiveChannelsCount = info.ActiveChannelsCount,
|
||||
InactiveChannelsCount = info.InactiveChannelsCount,
|
||||
PendingChannelsCount = info.PendingChannelsCount
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user