From f96fbdd3613c81a43c31a1659e732ec18d387332 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 28 May 2024 15:24:59 +0000 Subject: [PATCH] f fix imports in BP --- lightning-background-processor/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.5