Skip to content

Commit e86a69b

Browse files
authored
Merge pull request #6748 from Kixunil/patch-3
doc: Deprecation reason of `settled` on `Invoice`
2 parents fec8fd9 + b4647bc commit e86a69b

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

lnrpc/invoicesrpc/invoices.swagger.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@
469469
},
470470
"settled": {
471471
"type": "boolean",
472+
"description": "The field is deprecated. Use the state field instead (compare to SETTLED).",
472473
"title": "Whether this invoice has been fulfilled"
473474
},
474475
"creation_date": {

lnrpc/lightning.pb.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lnrpc/lightning.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3227,7 +3227,11 @@ message Invoice {
32273227
*/
32283228
int64 value_msat = 23;
32293229

3230-
// Whether this invoice has been fulfilled
3230+
/*
3231+
Whether this invoice has been fulfilled
3232+
3233+
The field is deprecated. Use the state field instead (compare to SETTLED).
3234+
*/
32313235
bool settled = 6 [deprecated = true];
32323236

32333237
/*

lnrpc/lightning.swagger.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4722,6 +4722,7 @@
47224722
},
47234723
"settled": {
47244724
"type": "boolean",
4725+
"description": "The field is deprecated. Use the state field instead (compare to SETTLED).",
47254726
"title": "Whether this invoice has been fulfilled"
47264727
},
47274728
"creation_date": {

0 commit comments

Comments
 (0)