File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1064,8 +1064,8 @@ impl NetworkGraph {
1064
1064
}
1065
1065
1066
1066
#[ 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
1069
1069
/// exist.
1070
1070
///
1071
1071
/// While there is no formal requirement that nodes regularly re-broadcast their channel
@@ -1082,13 +1082,13 @@ impl NetworkGraph {
1082
1082
self . remove_stale_channels_with_time ( time) ;
1083
1083
}
1084
1084
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
1087
1087
/// exist.
1088
1088
///
1089
1089
/// While there is no formal requirement that nodes regularly re-broadcast their channel
1090
1090
/// 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.
1092
1092
///
1093
1093
/// This function takes the current unix time as an argument. For users with the `std` feature
1094
1094
/// enabled, [`NetworkGraph::remove_stale_channels`] may be preferable.
You can’t perform that action at this time.
0 commit comments