Skip to content

Commit 09d2a71

Browse files
authored
Merge pull request #448 from lightning-signer/visibility-for-test
Increase visibility for external integration tests
2 parents b59efad + 481e221 commit 09d2a71

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

lightning/src/ln/features.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ pub type ChannelFeatures = Features<sealed::ChannelContext>;
6767

6868
impl InitFeatures {
6969
/// Create a Features with the features we support
70-
#[cfg(not(feature = "fuzztarget"))]
71-
pub(crate) fn supported() -> InitFeatures {
72-
InitFeatures {
73-
flags: vec![2 | 1 << 5],
74-
mark: PhantomData,
75-
}
76-
}
77-
#[cfg(feature = "fuzztarget")]
7870
pub fn supported() -> InitFeatures {
7971
InitFeatures {
8072
flags: vec![2 | 1 << 5],

lightning/src/ln/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ pub mod msgs;
1515
pub mod router;
1616
pub mod peer_handler;
1717
pub mod chan_utils;
18+
pub mod features;
1819

1920
#[cfg(feature = "fuzztarget")]
2021
pub mod peer_channel_encryptor;
2122
#[cfg(not(feature = "fuzztarget"))]
2223
pub(crate) mod peer_channel_encryptor;
2324

24-
#[cfg(feature = "fuzztarget")]
25-
pub mod features;
26-
#[cfg(not(feature = "fuzztarget"))]
27-
pub(crate) mod features;
28-
2925
mod channel;
3026
mod onion_utils;
3127

lightning/src/ln/msgs.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,10 @@ pub struct FundingSigned {
139139

140140
/// A funding_locked message to be sent or received from a peer
141141
#[derive(Clone, PartialEq)]
142+
#[allow(missing_docs)]
142143
pub struct FundingLocked {
143-
pub(crate) channel_id: [u8; 32],
144-
pub(crate) next_per_commitment_point: PublicKey,
144+
pub channel_id: [u8; 32],
145+
pub next_per_commitment_point: PublicKey,
145146
}
146147

147148
/// A shutdown message to be sent or received from a peer

0 commit comments

Comments
 (0)