From 9370a3cdd20a750d11218cdb6607e946aff361c9 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 11 Jul 2017 20:02:46 +0200 Subject: [PATCH] opening: Fix switched parameters for towire_accept_channel Turns out we were serializing two parameters in the wrong order. --- lightningd/opening/opening.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/opening/opening.c b/lightningd/opening/opening.c index 500c8d33b..50bfb4255 100644 --- a/lightningd/opening/opening.c +++ b/lightningd/opening/opening.c @@ -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,