File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lightning-background-processor/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -281,16 +281,16 @@ impl BackgroundProcessor {
281
281
// ChannelMonitor update(s) persisted without a corresponding ChannelManager update.
282
282
persister. persist_manager ( & * channel_manager) ?;
283
283
284
- // Persist NetworkGraph on exit
285
- if let Some ( ref handler) = net_graph_msg_handler {
286
- persister. persist_graph ( handler. network_graph ( ) ) ?;
287
- }
288
-
289
284
// Persist Scorer on exit
290
285
if let Some ( ref scorer) = scorer {
291
286
persister. persist_scorer ( & scorer) ?;
292
287
}
293
288
289
+ // Persist NetworkGraph on exit
290
+ if let Some ( ref handler) = net_graph_msg_handler {
291
+ persister. persist_graph ( handler. network_graph ( ) ) ?;
292
+ }
293
+
294
294
Ok ( ( ) )
295
295
} ) ;
296
296
Self { stop_thread : stop_thread_clone, thread_handle : Some ( handle) }
You can’t perform that action at this time.
0 commit comments