Skip to content

Commit d29451e

Browse files
committed
Add test-util feature such that background processor can import the crate differently for tests to fix the pruning verification test.
1 parent 428482d commit d29451e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lightning-background-processor/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ futures-util = { version = "0.3", default-features = false, features = ["async-a
2626
lightning = { version = "0.0.113", path = "../lightning", features = ["_test_utils"] }
2727
lightning-invoice = { version = "0.21.0", path = "../lightning-invoice" }
2828
lightning-persister = { version = "0.0.113", path = "../lightning-persister" }
29+
lightning-rapid-gossip-sync = { version = "0.0.113", path = "../lightning-rapid-gossip-sync", features = ["_test_utils"] }

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Utility to process gossip routing data from Rapid Gossip Sync Server.
1010
"""
1111

1212
[features]
13+
_test_utils = []
1314
default = ["std"]
1415
no-std = ["lightning/no-std"]
1516
std = ["lightning/std"]

0 commit comments

Comments
 (0)