diff --git a/doc/lightning-waitinvoice.7 b/doc/lightning-waitinvoice.7 index 7507d0b8a..9dcd9fe64 100644 --- a/doc/lightning-waitinvoice.7 +++ b/doc/lightning-waitinvoice.7 @@ -13,7 +13,7 @@ then returns that single entry as per \fBlistinvoice\fR\. .SH RETURN VALUE On success, an invoice description will be returned as per -\fBlightning-listinvoice\fR(7)\. The \fIstatus\fR field will be \fIpaid\fR\. +\fBlightning-listinvoice\fR(7)\. The \fIstatus\fR field will be \fIpaid\fR or \fIexpired\fR\. On error the returned object will contain \fBcode\fR and \fBmessage\fR properties, @@ -42,4 +42,4 @@ responsible\. Main web site: \fIhttps://github.com/ElementsProject/lightning\fR -\" SHA256STAMP:dc08283c1e264fc636c02a1a1b018ebd628b983a19ae861025c5db32e36a985a +\" SHA256STAMP:afa7ad33136d9bd9a92b9e0c52387c3124f009ca11b045dbac4e840aaa610857 diff --git a/doc/lightning-waitinvoice.7.md b/doc/lightning-waitinvoice.7.md index 730849d35..ba5f16066 100644 --- a/doc/lightning-waitinvoice.7.md +++ b/doc/lightning-waitinvoice.7.md @@ -16,7 +16,7 @@ RETURN VALUE ------------ On success, an invoice description will be returned as per -lightning-listinvoice(7). The *status* field will be *paid*. +lightning-listinvoice(7). The *status* field will be *paid* or *expired*. On error the returned object will contain `code` and `message` properties, with `code` being one of the following: