diff --git a/lnrpc/invoicesrpc/invoices.swagger.json b/lnrpc/invoicesrpc/invoices.swagger.json index 2d24be798..f220d5988 100644 --- a/lnrpc/invoicesrpc/invoices.swagger.json +++ b/lnrpc/invoicesrpc/invoices.swagger.json @@ -469,6 +469,7 @@ }, "settled": { "type": "boolean", + "description": "The field is deprecated. Use the state field instead (compare to SETTLED).", "title": "Whether this invoice has been fulfilled" }, "creation_date": { diff --git a/lnrpc/lightning.pb.go b/lnrpc/lightning.pb.go index e9ead2706..deaa74a93 100644 --- a/lnrpc/lightning.pb.go +++ b/lnrpc/lightning.pb.go @@ -11368,7 +11368,10 @@ type Invoice struct { // //The fields value and value_msat are mutually exclusive. ValueMsat int64 `protobuf:"varint,23,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"` - // Whether this invoice has been fulfilled + // + //Whether this invoice has been fulfilled + // + //The field is deprecated. Use the state field instead (compare to SETTLED). // // Deprecated: Do not use. Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` diff --git a/lnrpc/lightning.proto b/lnrpc/lightning.proto index 0476d21f2..46cf8b0c5 100644 --- a/lnrpc/lightning.proto +++ b/lnrpc/lightning.proto @@ -3227,7 +3227,11 @@ message Invoice { */ int64 value_msat = 23; - // Whether this invoice has been fulfilled + /* + Whether this invoice has been fulfilled + + The field is deprecated. Use the state field instead (compare to SETTLED). + */ bool settled = 6 [deprecated = true]; /* diff --git a/lnrpc/lightning.swagger.json b/lnrpc/lightning.swagger.json index 29c60525d..f50bd453c 100644 --- a/lnrpc/lightning.swagger.json +++ b/lnrpc/lightning.swagger.json @@ -4722,6 +4722,7 @@ }, "settled": { "type": "boolean", + "description": "The field is deprecated. Use the state field instead (compare to SETTLED).", "title": "Whether this invoice has been fulfilled" }, "creation_date": {