lnrpc: fix docs on ListPaymentsRequest

This commit is contained in:
yyforyongyu 2024-01-25 19:49:29 +08:00
parent 758ae6fbec
commit cb2c2e89dd
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868
3 changed files with 6 additions and 6 deletions

View file

@ -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"`
}

View file

@ -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;
}

View file

@ -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",