@@ -559,7 +559,7 @@ impl_writeable_tlv_based!(ChannelDetails, {
559
559
( 10 , channel_value_satoshis, required) ,
560
560
( 12 , unspendable_punishment_reserve, option) ,
561
561
// 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 ,
563
563
|us: & ChannelDetails | Some ( us. user_channel_id as u64 ) ) ) ,
564
564
( 16 , _balance_msat, ( legacy, u64 , { } , |us: & ChannelDetails | Some ( us. next_outbound_htlc_limit_msat) ) ) ,
565
565
( 18 , outbound_capacity_msat, required) ,
@@ -575,7 +575,7 @@ impl_writeable_tlv_based!(ChannelDetails, {
575
575
( 33 , inbound_htlc_minimum_msat, option) ,
576
576
( 35 , inbound_htlc_maximum_msat, option) ,
577
577
// 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 ,
579
579
|us: & ChannelDetails | Some ( ( us. user_channel_id >> 64 ) as u64 ) ) ) ,
580
580
( 39 , feerate_sat_per_1000_weight, option) ,
581
581
( 41 , channel_shutdown_state, option) ,
0 commit comments