mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
Addressing feedback from PR #187
This commit is contained in:
parent
70f4484ba8
commit
f9a2f73072
2 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,8 @@ static inline u16 to_self_delay(const struct channel *channel, enum side side)
|
|||
* @funding_txout: The commitment transaction output number.
|
||||
* @funding_satoshis: The commitment transaction amount.
|
||||
* @local_msatoshi: The amount for the local side (remainder goes to remote)
|
||||
* @feerate_per_kw: feerate per kiloweight (satoshis) for the settlement transaction
|
||||
* @feerate_per_kw: feerate per kiloweight (satoshis) for the commitment
|
||||
* transaction and HTLCS
|
||||
* @local: local channel configuration
|
||||
* @remote: remote channel configuration
|
||||
* @local_basepoints: local basepoints.
|
||||
|
|
|
@ -222,6 +222,7 @@ static void send_channel_update(struct peer *peer, bool disabled)
|
|||
talz(tmpctx, secp256k1_ecdsa_signature);
|
||||
|
||||
flags = peer->channel_direction | (disabled << 1);
|
||||
/* FIXME: Add configuration option to specify `htlc_minimum_msat` */
|
||||
cupdate = towire_channel_update(
|
||||
tmpctx, sig, &peer->short_channel_ids[LOCAL], timestamp, flags,
|
||||
peer->cltv_delta, 1, peer->fee_base, peer->fee_per_satoshi);
|
||||
|
|
Loading…
Add table
Reference in a new issue