Rename NetGraphMsgHandler to P2PGossipSync
[rust-lightning] / lightning / src / util / events.rs
index 0a886b93f6e01eb3dc70c967bc8d439ee3805b84..b00cf74e062f0d72cbbea7487e8d69591a378be0 100644 (file)
@@ -337,10 +337,10 @@ pub enum Event {
                /// payment route.
                ///
                /// Should be applied to the [`NetworkGraph`] so that routing decisions can take into
-               /// account the update. [`NetGraphMsgHandler`] is capable of doing this.
+               /// account the update. [`P2PGossipSync`] is capable of doing this.
                ///
                /// [`NetworkGraph`]: crate::routing::network_graph::NetworkGraph
-               /// [`NetGraphMsgHandler`]: crate::routing::network_graph::NetGraphMsgHandler
+               /// [`P2PGossipSync`]: crate::routing::network_graph::P2PGossipSync
                network_update: Option<NetworkUpdate>,
                /// For both single-path and multi-path payments, this is set if all paths of the payment have
                /// failed. This will be set to false if (1) this is an MPP payment and (2) other parts of the