Browse Source

opening: Fix switched parameters for towire_accept_channel

Turns out we were serializing two parameters in the wrong order.
ppa-0.6.1
Christian Decker 8 years ago
committed by Rusty Russell
parent
commit
9370a3cdd2
  1. 2
      lightningd/opening/opening.c

2
lightningd/opening/opening.c

@ -559,8 +559,8 @@ static u8 *fundee_channel(struct state *state,
state->localconf state->localconf
.max_htlc_value_in_flight_msat, .max_htlc_value_in_flight_msat,
state->localconf.channel_reserve_satoshis, state->localconf.channel_reserve_satoshis,
minimum_depth,
state->localconf.htlc_minimum_msat, state->localconf.htlc_minimum_msat,
minimum_depth,
state->localconf.to_self_delay, state->localconf.to_self_delay,
state->localconf.max_accepted_htlcs, state->localconf.max_accepted_htlcs,
our_funding_pubkey, our_funding_pubkey,

Loading…
Cancel
Save