File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lightning-rapid-gossip-sync/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use lightning::io;
16
16
use crate :: error:: GraphSyncError ;
17
17
use crate :: RapidGossipSync ;
18
18
19
- #[ cfg( feature = "std" ) ]
19
+ #[ cfg( all ( feature = "std" , not ( test ) , not ( feature = "_test_utils" ) ) ) ]
20
20
use std:: time:: { SystemTime , UNIX_EPOCH } ;
21
21
22
22
#[ cfg( not( feature = "std" ) ) ]
@@ -34,7 +34,7 @@ const MAX_INITIAL_NODE_ID_VECTOR_CAPACITY: u32 = 50_000;
34
34
35
35
/// We remove disallow gossip data that's more than two weeks old, per BOLT 7's
36
36
/// suggestion.
37
- #[ cfg( feature = "std" ) ]
37
+ #[ cfg( all ( feature = "std" , not ( test ) , not ( feature = "_test_utils" ) ) ) ]
38
38
const STALE_RGS_UPDATE_AGE_LIMIT_SECS : u64 = 60 * 60 * 24 * 14 ;
39
39
40
40
impl < NG : Deref < Target =NetworkGraph < L > > , L : Deref > RapidGossipSync < NG , L > where L :: Target : Logger {
You can’t perform that action at this time.
0 commit comments