Skip to content

Commit 6012d44

Browse files
committed
review: Fix peers::handler visibility
This only needs to be pub for fuzz tests
1 parent a9e433b commit 6012d44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lightning/src/ln/peers/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@
1313
//! Conduit enables message encryption and decryption, and automatically handles key rotation.
1414
1515
mod chacha;
16-
pub mod handler;
1716
mod hkdf5869rfc;
1817

1918
#[cfg(feature = "fuzztarget")]
2019
pub mod conduit;
2120
#[cfg(not(feature = "fuzztarget"))]
2221
mod conduit;
2322

23+
#[cfg(feature = "fuzztarget")]
24+
pub mod handler;
25+
#[cfg(not(feature = "fuzztarget"))]
26+
mod handler;
27+
2428
#[cfg(feature = "fuzztarget")]
2529
pub mod handshake;
2630
#[cfg(not(feature = "fuzztarget"))]

0 commit comments

Comments
 (0)