Skip to content

Commit 425fcc6

Browse files
f - make forward_htlcs only test public to lightning crate
1 parent 012126e commit 425fcc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,9 @@ pub struct ChannelManager<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref,
722722
///
723723
/// Note that no consistency guarantees are made about the existence of a channel with the
724724
/// `short_channel_id` here, nor the `short_channel_id` in the `PendingHTLCInfo`!
725-
#[cfg(any(test, feature = "_test_utils"))]
725+
#[cfg(test)]
726726
pub(super) forward_htlcs: Mutex<HashMap<u64, Vec<HTLCForwardInfo>>>,
727-
#[cfg(not(any(test, feature = "_test_utils")))]
727+
#[cfg(not(test))]
728728
forward_htlcs: Mutex<HashMap<u64, Vec<HTLCForwardInfo>>>,
729729

730730
/// The set of outbound SCID aliases across all our channels, including unconfirmed channels

0 commit comments

Comments
 (0)