File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -740,11 +740,6 @@ const MIN_SERIALIZATION_VERSION: u8 = 1;
740
740
741
741
impl Writeable for NetworkGraph {
742
742
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , io:: Error > {
743
- #[ cfg( feature = "std" ) ]
744
- {
745
- self . remove_stale_channels ( ) ;
746
- }
747
-
748
743
write_ver_prefix ! ( writer, SERIALIZATION_VERSION , MIN_SERIALIZATION_VERSION ) ;
749
744
750
745
self . genesis_hash . write ( writer) ?;
@@ -1072,8 +1067,6 @@ impl NetworkGraph {
1072
1067
/// updates every two weeks, the non-normative section of BOLT 7 currently suggests that
1073
1068
/// pruning occurs for updates which are at least two weeks old, which we implement here.
1074
1069
///
1075
- /// This method is automatically called immediately before writing the network graph via
1076
- /// [`Writeable::write`].
1077
1070
///
1078
1071
/// This method is only available with the `std` feature. See
1079
1072
/// [`NetworkGraph::remove_stale_channels_with_time`] for `no-std` use.
You can’t perform that action at this time.
0 commit comments