Skip to content

Commit 7baf26e

Browse files
committed
f - Mention NetGraphMsgHandler in PaymentFailed docs
1 parent 4d4d7f9 commit 7baf26e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lightning/src/util/events.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,13 @@ pub enum Event {
130130
/// retry the payment via a different route.
131131
rejected_by_dest: bool,
132132
/// Any failure information conveyed via the Onion return packet by a node along the failed
133-
/// payment route. Should be applied to the [`NetworkGraph`] so that routing decisions can
134-
/// take into account the update.
133+
/// payment route.
134+
///
135+
/// Should be applied to the [`NetworkGraph`] so that routing decisions can take into
136+
/// account the update. [`NetGraphMsgHandler`] is capable of doing this.
135137
///
136138
/// [`NetworkGraph`]: crate::routing::network_graph::NetworkGraph
139+
/// [`NetGraphMsgHandler`]: crate::routing::network_graph::NetGraphMsgHandler
137140
network_update: Option<NetworkUpdate>,
138141
#[cfg(test)]
139142
error_code: Option<u16>,

0 commit comments

Comments
 (0)