Skip to content

Commit 2bf0900

Browse files
committed
f docs spelling
1 parent 8576574 commit 2bf0900

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,8 +1064,8 @@ impl NetworkGraph {
10641064
}
10651065

10661066
#[cfg(feature = "std")]
1067-
/// Removes information about channels which we haven't heard any updates about in some time.
1068-
/// This can be used regularly to prune the network graph from channels which likely no longer
1067+
/// Removes information about channels that we haven't heard any updates about in some time.
1068+
/// This can be used regularly to prune the network graph of channels that likely no longer
10691069
/// exist.
10701070
///
10711071
/// While there is no formal requirement that nodes regularly re-broadcast their channel
@@ -1082,13 +1082,13 @@ impl NetworkGraph {
10821082
self.remove_stale_channels_with_time(time);
10831083
}
10841084

1085-
/// Removes information about channels which we haven't heard any updates about in some time.
1086-
/// This can be used regularly to prune the network graph from channels which likely no longer
1085+
/// Removes information about channels that we haven't heard any updates about in some time.
1086+
/// This can be used regularly to prune the network graph of channels that likely no longer
10871087
/// exist.
10881088
///
10891089
/// While there is no formal requirement that nodes regularly re-broadcast their channel
10901090
/// updates every two weeks, the non-normative section of BOLT 7 currently suggests that
1091-
/// pruning occurrs for updates which are at least two weeks old, which we implement here.
1091+
/// pruning occurs for updates which are at least two weeks old, which we implement here.
10921092
///
10931093
/// This function takes the current unix time as an argument. For users with the `std` feature
10941094
/// enabled, [`NetworkGraph::remove_stale_channels`] may be preferable.

0 commit comments

Comments
 (0)