Merge pull request #2084 from zpv/fix-changelog-all-paths-failed-typo
authorvalentinewallace <valentinewallace@users.noreply.github.com>
Wed, 8 Mar 2023 16:59:36 +0000 (11:59 -0500)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2023 16:59:36 +0000 (11:59 -0500)
Fix `all_paths_failed` typo in changelog

lightning-background-processor/src/lib.rs

index ac3ea724c0bbac4ab86e8440841f107734b99a74..f64f1e7651effd4f0ddf229c23b89ee40ea3bb7c 100644 (file)
@@ -349,9 +349,9 @@ macro_rules! define_run_body {
                                                log_error!($logger, "Error: Failed to persist network graph, check your disk and permissions {}", e)
                                        }
 
-                                       last_prune_call = $get_timer(NETWORK_PRUNE_TIMER);
                                        have_pruned = true;
                                }
+                               last_prune_call = $get_timer(NETWORK_PRUNE_TIMER);
                        }
 
                        if $timer_elapsed(&mut last_scorer_persist_call, SCORER_PERSIST_TIMER) {