Skip to content

Commit a28bcac

Browse files
committed
Re-add accidentally removed handle_channel_update call
In e620310, we made many, many small changes to prepare for running `rustfmt` on `peer_handler.rs`. Unfortunately, in the process we seem to have introduced a bug where we'd only call `handle_channel_update` on the `RoutingMessageHandler`, but not the `ChannelMessageHandler` anymore. Here, we fix this and reinstate proper working of our channel updates.
1 parent ecce859 commit a28bcac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,6 +2593,9 @@ where
25932593
self.update_gossip_backlogged();
25942594
},
25952595
wire::Message::ChannelUpdate(msg) => {
2596+
let chan_handler = &self.message_handler.chan_handler;
2597+
chan_handler.handle_channel_update(their_node_id, &msg);
2598+
25962599
let route_handler = &self.message_handler.route_handler;
25972600
if route_handler
25982601
.handle_channel_update(Some(their_node_id), &msg)

0 commit comments

Comments
 (0)