Addressing feedback from PR #187

This commit is contained in:
Christian Decker 2017-06-30 13:42:00 +02:00
parent 70f4484ba8
commit f9a2f73072
2 changed files with 3 additions and 1 deletions

View file

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

View file

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