Browse Source

Addressing feedback from PR #187

ppa-0.6.1
Christian Decker 8 years ago
parent
commit
f9a2f73072
  1. 3
      lightningd/channel.h
  2. 1
      lightningd/channel/channel.c

3
lightningd/channel.h

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

1
lightningd/channel/channel.c

@ -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…
Cancel
Save