]> git.bitcoin.ninja Git - rust-lightning/commitdiff
improving message in log
authorLalitmohansharma1 <lalit_ms@ar.iitr.ac.in>
Thu, 24 Aug 2023 14:51:08 +0000 (20:21 +0530)
committerLalitmohansharma1 <lalit_ms@ar.iitr.ac.in>
Thu, 24 Aug 2023 14:51:08 +0000 (20:21 +0530)
lightning/src/ln/peer_handler.rs

index 1a39bbb3ae408e7047159e6d9f3f63267188b61f..0e4f4a13d9b30f009890713e24df11e655cf065c 100644 (file)
@@ -2087,7 +2087,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
                                                        }
                                                },
                                                MessageSendEvent::BroadcastChannelUpdate { msg } => {
-                                                       log_debug!(self.logger, "Handling BroadcastChannelUpdate event in peer_handler for short channel id {}", msg.contents.short_channel_id);
+                                                       log_debug!(self.logger, "Handling BroadcastChannelUpdate event in peer_handler for contents {:?}", msg.contents);
                                                        match self.message_handler.route_handler.handle_channel_update(&msg) {
                                                                Ok(_) | Err(LightningError { action: msgs::ErrorAction::IgnoreDuplicateGossip, .. }) =>
                                                                        self.forward_broadcast_msg(peers, &wire::Message::ChannelUpdate(msg), None),