mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
rpc: populate new initiator field in ListChannels response
This commit is contained in:
parent
5d0a371a7d
commit
114f0a8918
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue