Browse Source

doc: fix waitinvoice update.

Waitinvoice also returns once an invoice is expired.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa
Rusty Russell 4 years ago
parent
commit
fdc1f75745
  1. 4
      doc/lightning-waitinvoice.7
  2. 2
      doc/lightning-waitinvoice.7.md

4
doc/lightning-waitinvoice.7

@ -13,7 +13,7 @@ then returns that single entry as per \fBlistinvoice\fR\.
.SH RETURN VALUE .SH RETURN VALUE
On success, an invoice description will be returned as per 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, 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 Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:dc08283c1e264fc636c02a1a1b018ebd628b983a19ae861025c5db32e36a985a \" SHA256STAMP:afa7ad33136d9bd9a92b9e0c52387c3124f009ca11b045dbac4e840aaa610857

2
doc/lightning-waitinvoice.7.md

@ -16,7 +16,7 @@ RETURN VALUE
------------ ------------
On success, an invoice description will be returned as per 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, On error the returned object will contain `code` and `message` properties,
with `code` being one of the following: with `code` being one of the following:

Loading…
Cancel
Save