f fix imports in BP

This commit is contained in:
Matt Corallo 2024-05-28 15:24:59 +00:00
parent 92bf460292
commit f96fbdd361

View file

@ -27,7 +27,7 @@ use lightning::chain::chainmonitor::{ChainMonitor, Persist};
use lightning::events::{Event, PathFailure};
#[cfg(feature = "std")]
use lightning::events::EventHandler;
#[cfg(any(feature = "std", feature = "futures"))]
#[cfg(feature = "std")]
use lightning::events::EventsProvider;
use lightning::ln::channelmanager::AChannelManager;
@ -57,8 +57,6 @@ use std::time::Instant;
#[cfg(not(feature = "std"))]
use alloc::boxed::Box;
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
/// `BackgroundProcessor` takes care of tasks that (1) need to happen periodically to keep
/// Rust-Lightning running properly, and (2) either can or should be run in the background. Its