Skip to content

Commit ad7b149

Browse files
committed
f fix imports in BP
1 parent f97c7fe commit ad7b149

File tree

1 file changed

+1
-3
lines changed
  • lightning-background-processor/src

1 file changed

+1
-3
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use lightning::chain::chainmonitor::{ChainMonitor, Persist};
2727
use lightning::events::{Event, PathFailure};
2828
#[cfg(feature = "std")]
2929
use lightning::events::EventHandler;
30-
#[cfg(any(feature = "std", feature = "futures"))]
30+
#[cfg(feature = "std")]
3131
use lightning::events::EventsProvider;
3232

3333
use lightning::ln::channelmanager::AChannelManager;
@@ -57,8 +57,6 @@ use std::time::Instant;
5757

5858
#[cfg(not(feature = "std"))]
5959
use alloc::boxed::Box;
60-
#[cfg(not(feature = "std"))]
61-
use alloc::vec::Vec;
6260

6361
/// `BackgroundProcessor` takes care of tasks that (1) need to happen periodically to keep
6462
/// Rust-Lightning running properly, and (2) either can or should be run in the background. Its

0 commit comments

Comments
 (0)