Skip to content

Commit d7bcc94

Browse files
committed
f - rephrase docs
1 parent 17d3e8d commit d7bcc94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub enum NetworkUpdate {
162162
/// The update to apply via [`NetworkGraph::update_channel`].
163163
msg: ChannelUpdate,
164164
},
165-
/// An error indicating only that a channel has failed, which should be applied via
165+
/// An error indicating that a channel failed to route a payment, which should be applied via
166166
/// [`NetworkGraph::channel_failed`].
167167
ChannelFailure {
168168
/// The short channel id of the closed channel.
@@ -171,7 +171,7 @@ pub enum NetworkUpdate {
171171
/// `channel_update` message is received.
172172
is_permanent: bool,
173173
},
174-
/// An error indicating only that a node has failed, which should be applied via
174+
/// An error indicating that a node failed to route a payment, which should be applied via
175175
/// [`NetworkGraph::node_failed`].
176176
NodeFailure {
177177
/// The node id of the failed node.

0 commit comments

Comments
 (0)