mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-22 15:04:19 +01:00
rpc: populate local CSV delay in ListChannels
This commit is contained in:
@@ -1494,6 +1494,7 @@ func (r *rpcServer) ListChannels(ctx context.Context,
|
||||
TotalSatoshisReceived: int64(dbChannel.TotalMSatReceived.ToSatoshis()),
|
||||
NumUpdates: localCommit.CommitHeight,
|
||||
PendingHtlcs: make([]*lnrpc.HTLC, len(localCommit.Htlcs)),
|
||||
CsvDelay: uint32(dbChannel.LocalChanCfg.CsvDelay),
|
||||
}
|
||||
|
||||
for i, htlc := range localCommit.Htlcs {
|
||||
|
||||
Reference in New Issue
Block a user