Clean up repeated_id test a bit to test indirectly
[rust-lightning] / src / ln / channel.rs
index 7949b4591f255dfa812ca9f273c94e416a9947a0..98eb19fee032ea4aee96afb924d8ab6f8644e104 100644 (file)
@@ -272,9 +272,6 @@ pub(super) struct Channel {
        // update_fee() during ChannelState::AwaitingRemoteRevoke.
        holding_cell_update_fee: Option<u64>,
        next_local_htlc_id: u64,
-       #[cfg(test)]
-       pub next_remote_htlc_id: u64,
-       #[cfg(not(test))]
        next_remote_htlc_id: u64,
        channel_update_count: u32,
        feerate_per_kw: u64,