doc: fix waitinvoice update.

Waitinvoice also returns once an invoice is expired.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-01-08 05:22:47 +10:30
parent 8f37437a14
commit fdc1f75745
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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: