mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
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:
parent
8f37437a14
commit
fdc1f75745
4
doc/lightning-waitinvoice.7
generated
4
doc/lightning-waitinvoice.7
generated
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user