mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
Fix typos
This commit is contained in:
parent
7b6a16a3a6
commit
aefc887521
6 changed files with 8 additions and 8 deletions
|
@ -34,7 +34,7 @@ lightning-decodepay \- Protocol for decoding a bolt11 string (low\-level)
|
|||
\fBdecodepay\fR \fIbolt11\fR [\fIdescription\fR]
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
The \fBdecodepay\fR RPC command checks and parses a \fIbolt11\fR string as specfied by the BOLT 11 specification\&.
|
||||
The \fBdecodepay\fR RPC command checks and parses a \fIbolt11\fR string as specified by the BOLT 11 specification\&.
|
||||
.SH "RETURN VALUE"
|
||||
.sp
|
||||
On success, an object is returned with the following fields, as specified by BOLT11:
|
||||
|
|
|
@ -13,7 +13,7 @@ SYNOPSIS
|
|||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
The *decodepay* RPC command checks and parses a 'bolt11' string as specfied
|
||||
The *decodepay* RPC command checks and parses a 'bolt11' string as specified
|
||||
by the BOLT 11 specification.
|
||||
|
||||
RETURN VALUE
|
||||
|
|
|
@ -28,7 +28,7 @@ Christian Decker <decker.christian@gmail.com> is mainly responsible.
|
|||
|
||||
SEE ALSO
|
||||
--------
|
||||
lightning-pay(7), ligthning-sendpay(7), lightning-listinvoice(7).
|
||||
lightning-pay(7), lightning-sendpay(7), lightning-listinvoice(7).
|
||||
|
||||
RESOURCES
|
||||
---------
|
||||
|
|
|
@ -301,7 +301,7 @@ class LightningDTests(BaseLightningDTests):
|
|||
lsrc.rpc.sendpay(to_json([routestep]), rhash, async=False)
|
||||
|
||||
# This waits until gossipd sees channel_update in both directions
|
||||
# (or for local channels, at least a local announcment)
|
||||
# (or for local channels, at least a local announcement)
|
||||
def wait_for_routes(self, l1, channel_ids):
|
||||
bitcoind.generate_block(5)
|
||||
# Could happen in any order...
|
||||
|
|
|
@ -67,7 +67,7 @@ const struct invoice *invoices_find_by_label(struct invoices *invoices,
|
|||
* @invoices - the invoice handler.
|
||||
* @rhash - the payment_hash to search for.
|
||||
*
|
||||
* Rerturns NULL if no invoice with that payment hash exists.
|
||||
* Returns NULL if no invoice with that payment hash exists.
|
||||
*/
|
||||
const struct invoice *invoices_find_unpaid(struct invoices *invoices,
|
||||
const struct sha256 *rhash);
|
||||
|
|
|
@ -385,7 +385,7 @@ struct invoice {
|
|||
*
|
||||
* All other wallet_invoice_* functions cannot be called
|
||||
* until this function is called.
|
||||
* As a databse operation it must be called within
|
||||
* As a database operation it must be called within
|
||||
* db_begin_transaction .. db_commit_transaction
|
||||
* (all other invoice functions also have this requirement).
|
||||
* Returns true if loaded successfully.
|
||||
|
@ -429,7 +429,7 @@ const struct invoice *wallet_invoice_find_by_label(struct wallet *wallet,
|
|||
* @wallet - the wallet to search.
|
||||
* @rhash - the payment_hash to search for.
|
||||
*
|
||||
* Rerturns NULL if no invoice with that payment hash exists.
|
||||
* Returns NULL if no invoice with that payment hash exists.
|
||||
*/
|
||||
const struct invoice *wallet_invoice_find_unpaid(struct wallet *wallet,
|
||||
const struct sha256 *rhash);
|
||||
|
@ -448,7 +448,7 @@ bool wallet_invoice_delete(struct wallet *wallet,
|
|||
/**
|
||||
* wallet_invoice_iterate - Iterate over all existing invoices
|
||||
*
|
||||
* @wallet - the wallet whose invoices are to beiterated over.
|
||||
* @wallet - the wallet whose invoices are to be iterated over.
|
||||
* @invoice - the previous invoice you iterated over.
|
||||
*
|
||||
* Return NULL at end-of-sequence. Usage:
|
||||
|
|
Loading…
Add table
Reference in a new issue