Fix typos

This commit is contained in:
practicalswift
2017-12-07 23:59:39 +01:00
committed by Christian Decker
parent 5444084625
commit 61c47c09d0
17 changed files with 25 additions and 25 deletions

View File

@@ -97,7 +97,7 @@ int bech32_encode(
* of entries in data.
* In: input: Pointer to a null-terminated Bech32 string.
* max_input_len: Maximum valid length of input (90 for segwit usage).
* Returns 1 if succesful.
* Returns 1 if successful.
*/
int bech32_decode(
char *hrp,

View File

@@ -310,7 +310,7 @@ again:
/* Cut to length and return. */
*valid = true;
tal_resize(&toks, ret + 1);
/* Make sure last one is always referencable. */
/* Make sure last one is always referenceable. */
toks[ret].type = -1;
toks[ret].start = toks[ret].end = toks[ret].size = 0;

View File

@@ -91,7 +91,7 @@ static bool output_better(const struct bitcoin_tx_output *a,
if (a->amount != b->amount)
return a->amount < b->amount;
/* Lexographic sort. */
/* Lexicographical sort. */
if (tal_len(a->script) < tal_len(b->script))
len = tal_len(a->script);
else

View File

@@ -19,7 +19,7 @@ struct utxo;
* @destination: (in) bitcoin_address to send to.
* @amount: (in) satoshis to send to the destination
* @changekey: (in) key to send change to (only used if change_satoshis != 0).
* @changesa: (in) amount to send as change.
* @changesat: (in) amount to send as change.
* @bip32_base: (in) bip32 base for key derivation, or NULL.
*/
struct bitcoin_tx *withdraw_tx(const tal_t *ctx,