mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Fix typos
This commit is contained in:
committed by
Christian Decker
parent
5444084625
commit
61c47c09d0
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user