Skip to content

Commit 3249958

Browse files
committed
f simplify serialization stuff
1 parent 23d2a0d commit 3249958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/gossip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,8 @@ impl Readable for ChannelInfo {
811811
let mut two_to_one_wrap: Option<ChannelUpdateInfoDeserWrapper> = None;
812812
init_tlv_field_var!(capacity_sats, required);
813813
init_tlv_field_var!(announcement_message, required);
814-
init_tlv_field_var!(lowest_inbound_channel_fees_to_one, option);
815-
init_tlv_field_var!(lowest_inbound_channel_fees_to_two, option);
814+
let mut lowest_inbound_channel_fees_to_one = None;
815+
let mut lowest_inbound_channel_fees_to_two = None;
816816
read_tlv_fields!(reader, {
817817
(0, features, required),
818818
(1, announcement_received_time, (default_value, 0)),

0 commit comments

Comments
 (0)