Skip to content

Commit

Permalink
doc: fix waitinvoice update.
Browse files Browse the repository at this point in the history
Waitinvoice also returns once an invoice is expired.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jan 9, 2021
1 parent 8f37437 commit fdc1f75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/lightning-waitinvoice.7

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc/lightning-waitinvoice.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fdc1f75

Please sign in to comment.