Skip to content

Commit

Permalink
Don't immediately exit BP if ChannelManager is persistable
Browse files Browse the repository at this point in the history
Backporting 8676c5a.
  • Loading branch information
luckysori committed Jul 17, 2023
1 parent 74690be commit 38c54c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning-background-processor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ where
UMH::Target: 'static + CustomMessageHandler,
PS::Target: 'static + Persister<'a, CW, T, ES, NS, SP, F, R, L, SC>,
{
let mut should_break = true;
let mut should_break = false;
let async_event_handler = |event| {
let network_graph = gossip_sync.network_graph();
let event_handler = &event_handler;
Expand Down

0 comments on commit 38c54c5

Please sign in to comment.