Skip to content

Commit 093cf1d

Browse files
committed
f simplify serialization stuff
1 parent f98cc06 commit 093cf1d

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
@@ -813,8 +813,8 @@ impl Readable for ChannelInfo {
813813
let mut two_to_one_wrap: Option<ChannelUpdateInfoDeserWrapper> = None;
814814
init_tlv_field_var!(capacity_sats, required);
815815
init_tlv_field_var!(announcement_message, required);
816-
init_tlv_field_var!(lowest_inbound_channel_fees_to_one, option);
817-
init_tlv_field_var!(lowest_inbound_channel_fees_to_two, option);
816+
let mut lowest_inbound_channel_fees_to_one = None;
817+
let mut lowest_inbound_channel_fees_to_two = None;
818818
read_tlv_fields!(reader, {
819819
(0, features, required),
820820
(1, announcement_received_time, (default_value, 0)),

0 commit comments

Comments
 (0)