X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-background-processor%2Fsrc%2Flib.rs;h=4fdf2eeff03e298cc9dda25fb28739101f361fcf;hb=03439ec99f38f65022ff84464a9a3e744cc65266;hp=e73ddeb709c11aca96ea04887c4eca2cb6cea388;hpb=692b0c78daf432c1bcd6634f90ebf4324c3eb437;p=rust-lightning diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index e73ddeb7..4fdf2eef 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -140,6 +140,9 @@ impl BackgroundProcessor { let stop_thread = Arc::new(AtomicBool::new(false)); let stop_thread_clone = stop_thread.clone(); let handle = thread::spawn(move || -> Result<(), std::io::Error> { + log_trace!(logger, "Calling ChannelManager's timer_tick_occurred on startup"); + channel_manager.timer_tick_occurred(); + let mut last_freshness_call = Instant::now(); let mut last_ping_call = Instant::now(); loop {