rpc: populate local CSV delay in ListChannels
This commit is contained in:
parent
0ebf55a9f6
commit
bd11529ae9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user