lnrpc: add htlc index to ListChannels pending htlcs

This commit is contained in:
Joost Jager committed 2020-10-14 17:44:22 +02:00
1 parent d26001a69a
commit d13b813dbb
4 files changed
+783 -764

No files matched your search

+1
View File
@@ -3577,6 +3577,7 @@ func createRPCOpenChannel(r *rpcServer, graph *channeldb.ChannelGraph,
Amount: int64(htlc.Amt.ToSatoshis()),
HashLock: rHash[:],
ExpirationHeight: htlc.RefundTimeout,
HtlcIndex: htlc.HtlcIndex,
}
// Add the Pending Htlc Amount to UnsettledBalance field.