lnrpc: add new StaticRemoteKey field to ListChannels output

This commit is contained in:
Olaoluwa Osuntokun committed 2019-09-25 18:26:07 -07:00
1 parent 2dddbc84d9
commit 8ce76fff51
4 files changed
+562 -534

No files matched your search

+1
View File
@@ -2684,6 +2684,7 @@ func createRPCOpenChannel(r *rpcServer, graph *channeldb.ChannelGraph,
ChanStatusFlags: dbChannel.ChanStatus().String(),
LocalChanReserveSat: int64(dbChannel.LocalChanCfg.ChanReserve),
RemoteChanReserveSat: int64(dbChannel.RemoteChanCfg.ChanReserve),
StaticRemoteKey: dbChannel.ChanType.IsTweakless(),
}
for i, htlc := range localCommit.Htlcs {