File tree 3 files changed +4
-15
lines changed
3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,6 @@ pub type ChannelFeatures = Features<sealed::ChannelContext>;
67
67
68
68
impl InitFeatures {
69
69
/// 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" ) ]
78
70
pub fn supported ( ) -> InitFeatures {
79
71
InitFeatures {
80
72
flags : vec ! [ 2 | 1 << 5 ] ,
Original file line number Diff line number Diff line change @@ -15,17 +15,13 @@ pub mod msgs;
15
15
pub mod router;
16
16
pub mod peer_handler;
17
17
pub mod chan_utils;
18
+ pub mod features;
18
19
19
20
#[ cfg( feature = "fuzztarget" ) ]
20
21
pub mod peer_channel_encryptor;
21
22
#[ cfg( not( feature = "fuzztarget" ) ) ]
22
23
pub ( crate ) mod peer_channel_encryptor;
23
24
24
- #[ cfg( feature = "fuzztarget" ) ]
25
- pub mod features;
26
- #[ cfg( not( feature = "fuzztarget" ) ) ]
27
- pub ( crate ) mod features;
28
-
29
25
mod channel;
30
26
mod onion_utils;
31
27
Original file line number Diff line number Diff line change @@ -139,9 +139,10 @@ pub struct FundingSigned {
139
139
140
140
/// A funding_locked message to be sent or received from a peer
141
141
#[ derive( Clone , PartialEq ) ]
142
+ #[ allow( missing_docs) ]
142
143
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 ,
145
146
}
146
147
147
148
/// A shutdown message to be sent or received from a peer
You can’t perform that action at this time.
0 commit comments