diff --git a/common/initial_channel.h b/common/initial_channel.h index ed7cab126..9ea5df573 100644 --- a/common/initial_channel.h +++ b/common/initial_channel.h @@ -86,7 +86,7 @@ static inline u64 max_htlc_value_in_flight_msat(const struct channel *channel, } /* BOLT #2: * - * similarly `max_accepted_htlcs` limits the number of outstanding + * similarly, `max_accepted_htlcs` limits the number of outstanding * HTLCs the other node can offer. */ static inline u16 max_accepted_htlcs(const struct channel *channel, enum side recipient) @@ -113,7 +113,7 @@ static inline u32 htlc_minimum_msat(const struct channel *channel, } /* BOLT #2: * - * `to_self_delay` is the number of blocks that the other nodes + * `to_self_delay` is the number of blocks that the other node's * to-self outputs must be delayed, using `OP_CHECKSEQUENCEVERIFY` * delays */ static inline u16 to_self_delay(const struct channel *channel, enum side side) diff --git a/common/initial_commit_tx.c b/common/initial_commit_tx.c index e30a2ef44..6142f6fb3 100644 --- a/common/initial_commit_tx.c +++ b/common/initial_commit_tx.c @@ -105,16 +105,15 @@ struct bitcoin_tx *initial_commit_tx(const tal_t *ctx, * * The receiving node MUST fail the channel if: *... - * - the funder's amount for the initial commitment - * transaction is not sufficient for full [fee - * payment](03-transactions.md#fee-payment). + * - it considers `feerate_per_kw` too small for timely + * processing or unreasonably large. */ status_unusual("Funder cannot afford fee" " on initial commitment transaction"); return NULL; } - /* BOLT #2: + /* FIXME, should be in #2: * * The receiving node MUST fail the channel if: *...