opening: Fix switched parameters for towire_accept_channel

Turns out we were serializing two parameters in the wrong order.
This commit is contained in:
Christian Decker
2017-07-11 20:02:46 +02:00
committed by Rusty Russell
parent 8e043fc448
commit 9370a3cdd2

View File

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