From: Matt Corallo Date: Tue, 28 May 2024 15:24:59 +0000 (+0000) Subject: f fix imports in BP X-Git-Tag: v0.0.124-beta~100^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f96fbdd3613c81a43c31a1659e732ec18d387332;p=rust-lightning f fix imports in BP --- diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index b612dd96f..6b7cd5b05 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -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