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

@@ -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) */

View File

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

View File

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

View File

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