Fix typos

This commit is contained in:
practicalswift 2018-01-18 17:50:35 +01:00 committed by Christian Decker
parent 7b6a16a3a6
commit aefc887521
6 changed files with 8 additions and 8 deletions

View file

@ -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:

View file

@ -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

View file

@ -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
---------

View file

@ -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...

View file

@ -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);

View file

@ -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);