mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Fix typos
This commit is contained in:
committed by
Christian Decker
parent
5444084625
commit
61c47c09d0
@@ -107,10 +107,10 @@ struct chain_topology {
|
||||
/* Our timer list. */
|
||||
struct timers *timers;
|
||||
|
||||
/* Bitcoin transctions we're broadcasting */
|
||||
/* Bitcoin transactions we're broadcasting */
|
||||
struct list_head outgoing_txs;
|
||||
|
||||
/* Force a partiular fee rate regardless of estimatefee (satoshis/kb) */
|
||||
/* Force a particular fee rate regardless of estimatefee (satoshis/kb) */
|
||||
u32 *override_fee_rate;
|
||||
|
||||
/* What fee we use if estimatefee fails (satoshis/kb) */
|
||||
|
||||
@@ -471,7 +471,7 @@ static void parse_request(struct json_connection *jcon, const jsmntok_t tok[])
|
||||
return;
|
||||
}
|
||||
|
||||
/* This is a convenient tal parent for durarion of command
|
||||
/* This is a convenient tal parent for duration of command
|
||||
* (which may outlive the conn!). */
|
||||
jcon->current = tal(jcon->ld, struct command);
|
||||
jcon->current->jcon = jcon;
|
||||
|
||||
@@ -448,7 +448,7 @@ static void log_crash(int sig)
|
||||
logfile = "crash.log";
|
||||
fd = open(logfile, O_WRONLY|O_CREAT, 0600);
|
||||
if (fd < 0) {
|
||||
logfile = "/tmp/lighning-crash.log";
|
||||
logfile = "/tmp/lightning-crash.log";
|
||||
fd = open(logfile, O_WRONLY|O_CREAT, 0600);
|
||||
}
|
||||
|
||||
|
||||
@@ -1040,7 +1040,7 @@ static void onchaind_tell_fulfill(struct peer *peer)
|
||||
|
||||
/* We only set preimage once it's irrevocably committed, and
|
||||
* we spend even if we don't have an outgoing HTLC (eg. local
|
||||
* payyment complete) */
|
||||
* payment complete) */
|
||||
if (!hin->preimage)
|
||||
continue;
|
||||
|
||||
@@ -2226,7 +2226,7 @@ static void opening_funder_finished(struct subd *opening, const u8 *resp,
|
||||
/* old_remote_per_commit not valid yet, copy valid one. */
|
||||
channel_info->old_remote_per_commit = channel_info->remote_per_commit;
|
||||
|
||||
/* Now, keep the initial commit as our last-tx-to-broadast. */
|
||||
/* Now, keep the initial commit as our last-tx-to-broadcast. */
|
||||
peer_last_tx(fc->peer, remote_commit, &remote_commit_sig);
|
||||
|
||||
/* Generate the funding tx. */
|
||||
@@ -2350,7 +2350,7 @@ static void opening_fundee_finished(struct subd *opening,
|
||||
/* old_remote_per_commit not valid yet, copy valid one. */
|
||||
channel_info->old_remote_per_commit = channel_info->remote_per_commit;
|
||||
|
||||
/* Now, keep the initial commit as our last-tx-to-broadast. */
|
||||
/* Now, keep the initial commit as our last-tx-to-broadcast. */
|
||||
peer_last_tx(peer, remote_commit, &remote_commit_sig);
|
||||
|
||||
if (!peer_commit_initial(peer))
|
||||
|
||||
Reference in New Issue
Block a user