mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
openingd: comment typo fixes
Reported-by: Conor Scott @connscott Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
9d95eba6f2
commit
6a04d2ced3
@ -57,7 +57,7 @@ struct state {
|
|||||||
/* Cryptographic state needed to exchange messages with the peer */
|
/* Cryptographic state needed to exchange messages with the peer */
|
||||||
struct crypto_state cs;
|
struct crypto_state cs;
|
||||||
|
|
||||||
/* Constriants on a channel they open. */
|
/* Constraints on a channel they open. */
|
||||||
u32 minimum_depth;
|
u32 minimum_depth;
|
||||||
u32 min_feerate, max_feerate;
|
u32 min_feerate, max_feerate;
|
||||||
u64 min_effective_htlc_capacity_msat;
|
u64 min_effective_htlc_capacity_msat;
|
||||||
@ -110,7 +110,7 @@ static void negotiation_aborted(struct state *state, bool am_funder,
|
|||||||
status_debug("aborted opening negotiation: %s", why);
|
status_debug("aborted opening negotiation: %s", why);
|
||||||
/*~ The "billboard" (exposed as "status" in the JSON listpeers RPC
|
/*~ The "billboard" (exposed as "status" in the JSON listpeers RPC
|
||||||
* call) is a transient per-channel area which indicates important
|
* call) is a transient per-channel area which indicates important
|
||||||
* information about what is happening. It has a "permenant" area for
|
* information about what is happening. It has a "permanent" area for
|
||||||
* each state, which can be used to indicate what went wrong in that
|
* each state, which can be used to indicate what went wrong in that
|
||||||
* state (such as here), and a single transient area for current
|
* state (such as here), and a single transient area for current
|
||||||
* status. */
|
* status. */
|
||||||
@ -330,7 +330,7 @@ static u8 *opening_negotiate_msg(const tal_t *ctx, struct state *state,
|
|||||||
bool am_funder)
|
bool am_funder)
|
||||||
{
|
{
|
||||||
/* This is an event loop of its own. That's generally considered poor
|
/* This is an event loop of its own. That's generally considered poor
|
||||||
* for, but we use it in a very limited way. */
|
* form, but we use it in a very limited way. */
|
||||||
for (;;) {
|
for (;;) {
|
||||||
u8 *msg;
|
u8 *msg;
|
||||||
bool from_gossipd;
|
bool from_gossipd;
|
||||||
|
Loading…
Reference in New Issue
Block a user