Improve routing-related documentation
[rust-lightning] / lightning / src / util / events.rs
index 76ec20209412a8ddc4865aa931c3265a5275f60e..82c215a2697692b453e50581edcedf572faf5d32 100644 (file)
@@ -332,9 +332,9 @@ pub enum MessageSendEvent {
                action: msgs::ErrorAction
        },
        /// When a payment fails we may receive updates back from the hop where it failed. In such
-       /// cases this event is generated so that we can inform the router of this information.
+       /// cases this event is generated so that we can inform the network graph of this information.
        PaymentFailureNetworkUpdate {
-               /// The channel/node update which should be sent to router
+               /// The channel/node update which should be sent to NetGraphMsgHandler
                update: msgs::HTLCFailChannelUpdate,
        }
 }