Browse Source

Fix typos

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
aefc887521
  1. 2
      doc/lightning-decodepay.7
  2. 2
      doc/lightning-decodepay.7.txt
  3. 2
      doc/lightning-listpayments.7.txt
  4. 2
      tests/test_lightningd.py
  5. 2
      wallet/invoices.h
  6. 6
      wallet/wallet.h

2
doc/lightning-decodepay.7

@ -34,7 +34,7 @@ lightning-decodepay \- Protocol for decoding a bolt11 string (low\-level)
\fBdecodepay\fR \fIbolt11\fR [\fIdescription\fR] \fBdecodepay\fR \fIbolt11\fR [\fIdescription\fR]
.SH "DESCRIPTION" .SH "DESCRIPTION"
.sp .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" .SH "RETURN VALUE"
.sp .sp
On success, an object is returned with the following fields, as specified by BOLT11: On success, an object is returned with the following fields, as specified by BOLT11:

2
doc/lightning-decodepay.7.txt

@ -13,7 +13,7 @@ SYNOPSIS
DESCRIPTION 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. by the BOLT 11 specification.
RETURN VALUE RETURN VALUE

2
doc/lightning-listpayments.7.txt

@ -28,7 +28,7 @@ Christian Decker <decker.christian@gmail.com> is mainly responsible.
SEE ALSO SEE ALSO
-------- --------
lightning-pay(7), ligthning-sendpay(7), lightning-listinvoice(7). lightning-pay(7), lightning-sendpay(7), lightning-listinvoice(7).
RESOURCES RESOURCES
--------- ---------

2
tests/test_lightningd.py

@ -301,7 +301,7 @@ class LightningDTests(BaseLightningDTests):
lsrc.rpc.sendpay(to_json([routestep]), rhash, async=False) lsrc.rpc.sendpay(to_json([routestep]), rhash, async=False)
# This waits until gossipd sees channel_update in both directions # 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): def wait_for_routes(self, l1, channel_ids):
bitcoind.generate_block(5) bitcoind.generate_block(5)
# Could happen in any order... # Could happen in any order...

2
wallet/invoices.h

@ -67,7 +67,7 @@ const struct invoice *invoices_find_by_label(struct invoices *invoices,
* @invoices - the invoice handler. * @invoices - the invoice handler.
* @rhash - the payment_hash to search for. * @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 invoice *invoices_find_unpaid(struct invoices *invoices,
const struct sha256 *rhash); const struct sha256 *rhash);

6
wallet/wallet.h

@ -385,7 +385,7 @@ struct invoice {
* *
* All other wallet_invoice_* functions cannot be called * All other wallet_invoice_* functions cannot be called
* until this function is 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 * db_begin_transaction .. db_commit_transaction
* (all other invoice functions also have this requirement). * (all other invoice functions also have this requirement).
* Returns true if loaded successfully. * 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. * @wallet - the wallet to search.
* @rhash - the payment_hash to search for. * @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 invoice *wallet_invoice_find_unpaid(struct wallet *wallet,
const struct sha256 *rhash); const struct sha256 *rhash);
@ -448,7 +448,7 @@ bool wallet_invoice_delete(struct wallet *wallet,
/** /**
* wallet_invoice_iterate - Iterate over all existing invoices * 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. * @invoice - the previous invoice you iterated over.
* *
* Return NULL at end-of-sequence. Usage: * Return NULL at end-of-sequence. Usage:

Loading…
Cancel
Save