Merge pull request #3838 from bhandras/i1404

channeldb+invoices: fix what pending invoice means in ChannelDB
This commit is contained in:
Joost Jager authored and GitHub committed 2019-12-19 21:02:57 +01:00
commit 5ea63158e0
5 files changed
+124 -35

No files matched your search

+3 -1
View File
@@ -7806,7 +7806,9 @@ func (m *PaymentHash) GetRHash() []byte {
}
type ListInvoiceRequest struct {
/// If set, only unsettled invoices will be returned in the response.
//*
//If set, only invoices that are not settled and not canceled will be returned
//in the response.
PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,proto3" json:"pending_only,omitempty"`
//*
//The index of an invoice that will be used as either the start or end of a