File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ pub(super) enum HTLCForwardInfo {
248
248
/// variable at runtime (eg Channel::channel_reestablish needs to re-send messages in the order
249
249
/// they were originally sent). In those cases, this enum is also returned.
250
250
#[ derive( Clone , PartialEq ) ]
251
- pub enum RAACommitmentOrder {
251
+ pub ( super ) enum RAACommitmentOrder {
252
252
/// Send the CommitmentUpdate messages first
253
253
CommitmentFirst ,
254
254
/// Send the RevokeAndACK message first
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 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 ] ,
You can’t perform that action at this time.
0 commit comments