Skip to content

Commit 655ee88

Browse files
fixup: remove redundant time feature in BP
1 parent f546712 commit 655ee88

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lightning-background-processor/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ all-features = true
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

1616
[features]
17-
default = ["std", "time"]
18-
std = ["lightning/std", "lightning-liquidity/std", "bitcoin-io/std", "bitcoin_hashes/std"]
19-
time = ["std", "lightning-liquidity/time"]
17+
default = ["std"]
18+
std = ["lightning/std", "lightning-liquidity/std", "bitcoin-io/std", "bitcoin_hashes/std", "lightning-liquidity/time"]
2019

2120

2221
[dependencies]

lightning-background-processor/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ impl Drop for BackgroundProcessor {
11621162
}
11631163
}
11641164

1165-
#[cfg(all(feature = "std", feature = "time", test))]
1165+
#[cfg(all(feature = "std", test))]
11661166
mod tests {
11671167
use super::{BackgroundProcessor, GossipSync, FRESHNESS_TIMER};
11681168
use bitcoin::constants::{genesis_block, ChainHash};
@@ -1207,7 +1207,6 @@ mod tests {
12071207
use lightning::util::sweep::{OutputSpendStatus, OutputSweeperSync, PRUNE_DELAY_BLOCKS};
12081208
use lightning::util::test_utils;
12091209
use lightning::{get_event, get_event_msg};
1210-
#[cfg(feature = "time")]
12111210
use lightning_liquidity::lsps5::service::DefaultTimeProvider;
12121211
use lightning_liquidity::LiquidityManager;
12131212
use lightning_persister::fs_store::FilesystemStore;

0 commit comments

Comments
 (0)