@@ -559,7 +559,7 @@ impl_writeable_tlv_based!(ChannelDetails, {
559559 ( 10 , channel_value_satoshis, required) ,
560560 ( 12 , unspendable_punishment_reserve, option) ,
561561 // Note that _user_channel_id_low is used below, but rustc warns anyway
562- ( 14 , _user_channel_id_low, ( legacy, u64 , { } ,
562+ ( 14 , _user_channel_id_low, ( legacy, u64 ,
563563 |us: & ChannelDetails | Some ( us. user_channel_id as u64 ) ) ) ,
564564 ( 16 , _balance_msat, ( legacy, u64 , { } , |us: & ChannelDetails | Some ( us. next_outbound_htlc_limit_msat) ) ) ,
565565 ( 18 , outbound_capacity_msat, required) ,
@@ -575,7 +575,7 @@ impl_writeable_tlv_based!(ChannelDetails, {
575575 ( 33 , inbound_htlc_minimum_msat, option) ,
576576 ( 35 , inbound_htlc_maximum_msat, option) ,
577577 // Note that _user_channel_id_high is used below, but rustc warns anyway
578- ( 37 , _user_channel_id_high, ( legacy, u64 , { } ,
578+ ( 37 , _user_channel_id_high, ( legacy, u64 ,
579579 |us: & ChannelDetails | Some ( ( us. user_channel_id >> 64 ) as u64 ) ) ) ,
580580 ( 39 , feerate_sat_per_1000_weight, option) ,
581581 ( 41 , channel_shutdown_state, option) ,
0 commit comments