@ -484,12 +484,12 @@ static u8 *funder_channel(struct state *state,
msg = towire_open_channel ( NULL ,
& state - > chainparams - > genesis_blockhash ,
& state - > channel_id ,
state - > funding . satoshis ,
state - > push_msat . millisatoshis ,
state - > localconf . dust_limit . satoshis ,
state - > localconf . max_htlc_value_in_flight . millisatoshis ,
state - > localconf . channel_reserve . satoshis ,
state - > localconf . htlc_minimum . millisatoshis ,
state - > funding ,
state - > push_msat ,
state - > localconf . dust_limit ,
state - > localconf . max_htlc_value_in_flight ,
state - > localconf . channel_reserve ,
state - > localconf . htlc_minimum ,
state - > feerate_per_kw ,
state - > localconf . to_self_delay ,
state - > localconf . max_accepted_htlcs ,
@ -519,12 +519,10 @@ static u8 *funder_channel(struct state *state,
* valid DER - encoded compressed secp256k1 pubkeys .
*/
if ( ! fromwire_accept_channel ( msg , & id_in ,
& state - > remoteconf . dust_limit . satoshis ,
& state - > remoteconf
. max_htlc_value_in_flight . millisatoshis ,
& state - > remoteconf
. channel_reserve . satoshis ,
& state - > remoteconf . htlc_minimum . millisatoshis ,
& state - > remoteconf . dust_limit ,
& state - > remoteconf . max_htlc_value_in_flight ,
& state - > remoteconf . channel_reserve ,
& state - > remoteconf . htlc_minimum ,
& minimum_depth ,
& state - > remoteconf . to_self_delay ,
& state - > remoteconf . max_accepted_htlcs ,
@ -853,12 +851,12 @@ static u8 *fundee_channel(struct state *state, const u8 *open_channel_msg)
*/
if ( ! fromwire_open_channel ( open_channel_msg , & chain_hash ,
& state - > channel_id ,
& state - > funding . satoshis ,
& state - > push_msat . millisatoshis ,
& state - > remoteconf . dust_limit . satoshis ,
& state - > remoteconf . max_htlc_value_in_flight . millisatoshis ,
& state - > remoteconf . channel_reserve . satoshis ,
& state - > remoteconf . htlc_minimum . millisatoshis ,
& state - > funding ,
& state - > push_msat ,
& state - > remoteconf . dust_limit ,
& state - > remoteconf . max_htlc_value_in_flight ,
& state - > remoteconf . channel_reserve ,
& state - > remoteconf . htlc_minimum ,
& state - > feerate_per_kw ,
& state - > remoteconf . to_self_delay ,
& state - > remoteconf . max_accepted_htlcs ,
@ -991,11 +989,10 @@ static u8 *fundee_channel(struct state *state, const u8 *open_channel_msg)
/* OK, we accept! */
msg = towire_accept_channel ( NULL , & state - > channel_id ,
state - > localconf . dust_limit . satoshis ,
state - > localconf
. max_htlc_value_in_flight . millisatoshis ,
state - > localconf . channel_reserve . satoshis ,
state - > localconf . htlc_minimum . millisatoshis ,
state - > localconf . dust_limit ,
state - > localconf . max_htlc_value_in_flight ,
state - > localconf . channel_reserve ,
state - > localconf . htlc_minimum ,
state - > minimum_depth ,
state - > localconf . to_self_delay ,
state - > localconf . max_accepted_htlcs ,