diff --git a/doc/lightning-invoice.7 b/doc/lightning-invoice.7 index 1c8556f75296..1d77f6ec9501 100644 --- a/doc/lightning-invoice.7 +++ b/doc/lightning-invoice.7 @@ -72,9 +72,8 @@ payment\. .SH RETURN VALUE On success, a hash is returned as \fIpayment_hash\fR to be given to the -payer, the \fIpayment_preimage\fR used and the \fIexpiry_time\fR as a UNIX -timestamp\. It also returns a BOLT11 invoice as \fIbolt11\fR to be given -to the payer\. +payer, and the \fIexpiry_time\fR as a UNIX timestamp\. It also returns a +BOLT11 invoice as \fIbolt11\fR to be given to the payer\. On failure, an error is returned and no invoice is created\. If the diff --git a/doc/lightning-invoice.7.md b/doc/lightning-invoice.7.md index 909577594dcc..7ca42153be37 100644 --- a/doc/lightning-invoice.7.md +++ b/doc/lightning-invoice.7.md @@ -67,9 +67,8 @@ RETURN VALUE ------------ On success, a hash is returned as *payment\_hash* to be given to the -payer, the *payment\_preimage* used and the *expiry\_time* as a UNIX -timestamp. It also returns a BOLT11 invoice as *bolt11* to be given -to the payer. +payer, and the *expiry\_time* as a UNIX timestamp. It also returns a +BOLT11 invoice as *bolt11* to be given to the payer. On failure, an error is returned and no invoice is created. If the lightning process fails before responding, the caller should use