diff --git a/lnrpc/lightning.pb.go b/lnrpc/lightning.pb.go index 69acb8042..2ffa9476c 100644 --- a/lnrpc/lightning.pb.go +++ b/lnrpc/lightning.pb.go @@ -13542,10 +13542,10 @@ type ListPaymentsRequest struct { // increase the run time of the call significantly on systems that have a lot // of payments, as all of them have to be iterated through to be counted. CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"` - // If set, returns all invoices with a creation date greater than or equal + // If set, returns all payments with a creation date greater than or equal // to it. Measured in seconds since the unix epoch. CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"` - // If set, returns all invoices with a creation date less than or equal to + // If set, returns all payments with a creation date less than or equal to // it. Measured in seconds since the unix epoch. CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"` } diff --git a/lnrpc/lightning.proto b/lnrpc/lightning.proto index feeea96cb..50d86fd4a 100644 --- a/lnrpc/lightning.proto +++ b/lnrpc/lightning.proto @@ -4138,11 +4138,11 @@ message ListPaymentsRequest { */ bool count_total_payments = 5; - // If set, returns all invoices with a creation date greater than or equal + // If set, returns all payments with a creation date greater than or equal // to it. Measured in seconds since the unix epoch. uint64 creation_date_start = 6; - // If set, returns all invoices with a creation date less than or equal to + // If set, returns all payments with a creation date less than or equal to // it. Measured in seconds since the unix epoch. uint64 creation_date_end = 7; } diff --git a/lnrpc/lightning.swagger.json b/lnrpc/lightning.swagger.json index d72936cfa..c574376a6 100644 --- a/lnrpc/lightning.swagger.json +++ b/lnrpc/lightning.swagger.json @@ -2209,7 +2209,7 @@ }, { "name": "creation_date_start", - "description": "If set, returns all invoices with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.", + "description": "If set, returns all payments with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.", "in": "query", "required": false, "type": "string", @@ -2217,7 +2217,7 @@ }, { "name": "creation_date_end", - "description": "If set, returns all invoices with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.", + "description": "If set, returns all payments with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.", "in": "query", "required": false, "type": "string",