From 8edf55b34a007c136a95e870081139c72fb9d845 Mon Sep 17 00:00:00 2001 From: darosior Date: Sat, 15 Jun 2019 00:19:28 +0200 Subject: [PATCH] doc: Correct preimage field name in pay return value --- doc/lightning-pay.7 | 2 +- doc/lightning-pay.7.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lightning-pay.7 b/doc/lightning-pay.7 index 92760ef99..f0be608c7 100644 --- a/doc/lightning-pay.7 +++ b/doc/lightning-pay.7 @@ -76,7 +76,7 @@ Shadow route means the payment algorithm will virtually extend the time delays a Route randomization will never exceed \fImaxfeepercent\fR of the payment\&. Route randomization and shadow routing will not take routes that would exceed \fImaxdelay\fR\&. .SH "RETURN VALUE" .sp -On success, this returns the payment \fIpreimage\fR which hashes to the \fIpayment_hash\fR to prove that the payment was successful\&. It will also return, a \fIgetroute_tries\fR and a \fIsendpay_tries\fR statistics for the number of times it internally called \fBgetroute\fR and \fBsendpay\fR\&. +On success, this returns the \fIpayment_preimage\fR which hashes to the \fIpayment_hash\fR to prove that the payment was successful\&. It will also return, a \fIgetroute_tries\fR and a \fIsendpay_tries\fR statistics for the number of times it internally called \fBgetroute\fR and \fBsendpay\fR\&. .sp You can monitor the progress and retries of a payment using the lightning\-paystatus(7) command\&. .sp diff --git a/doc/lightning-pay.7.txt b/doc/lightning-pay.7.txt index 841d2e64b..92b32f77c 100644 --- a/doc/lightning-pay.7.txt +++ b/doc/lightning-pay.7.txt @@ -78,7 +78,7 @@ will not take routes that would exceed 'maxdelay'. RETURN VALUE ------------ -On success, this returns the payment 'preimage' which hashes to the +On success, this returns the 'payment_preimage' which hashes to the 'payment_hash' to prove that the payment was successful. It will also return, a 'getroute_tries' and a 'sendpay_tries' statistics for the number of times it internally called *getroute*