We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7f74e commit 668a744Copy full SHA for 668a744
lightning-background-processor/src/lib.rs
@@ -281,16 +281,16 @@ impl BackgroundProcessor {
281
// ChannelMonitor update(s) persisted without a corresponding ChannelManager update.
282
persister.persist_manager(&*channel_manager)?;
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
// Persist Scorer on exit
290
if let Some(ref scorer) = scorer {
291
persister.persist_scorer(&scorer)?;
292
}
293
+ // Persist NetworkGraph on exit
+ if let Some(ref handler) = net_graph_msg_handler {
+ persister.persist_graph(handler.network_graph())?;
+ }
+
294
Ok(())
295
});
296
Self { stop_thread: stop_thread_clone, thread_handle: Some(handle) }
0 commit comments