Skip to content

Commit 9ec33ba

Browse files
committed
cleanup
1 parent 520f281 commit 9ec33ba

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ pub(super) enum HTLCForwardInfo {
248248
/// variable at runtime (eg Channel::channel_reestablish needs to re-send messages in the order
249249
/// they were originally sent). In those cases, this enum is also returned.
250250
#[derive(Clone, PartialEq)]
251-
pub enum RAACommitmentOrder {
251+
pub(super) enum RAACommitmentOrder {
252252
/// Send the CommitmentUpdate messages first
253253
CommitmentFirst,
254254
/// Send the RevokeAndACK message first

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 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],

0 commit comments

Comments
 (0)