rpc: populate new initiator field in ListChannels response
This commit is contained in:
parent
5d0a371a7d
commit
114f0a8918
@ -2373,6 +2373,7 @@ func (r *rpcServer) ListChannels(ctx context.Context,
|
||||
NumUpdates: localCommit.CommitHeight,
|
||||
PendingHtlcs: make([]*lnrpc.HTLC, len(localCommit.Htlcs)),
|
||||
CsvDelay: uint32(dbChannel.LocalChanCfg.CsvDelay),
|
||||
Initiator: dbChannel.IsInitiator,
|
||||
}
|
||||
|
||||
for i, htlc := range localCommit.Htlcs {
|
||||
|
Loading…
Reference in New Issue
Block a user