Merge pull request #2816 from wpaulino/retryable-holder-sigs
[rust-lightning] / lightning / src / ln / channel.rs
index 0bc9f5e57939c29028cf16dc9942050d0d123b28..a82f4d41be4f161e333ae307fdc0df2ad834c708 100644 (file)
@@ -1492,7 +1492,10 @@ pub(super) struct ChannelContext<SP: Deref> where SP::Target: SignerProvider {
 
        /// The unique identifier used to re-derive the private key material for the channel through
        /// [`SignerProvider::derive_channel_signer`].
+       #[cfg(not(test))]
        channel_keys_id: [u8; 32],
+       #[cfg(test)]
+       pub channel_keys_id: [u8; 32],
 
        /// If we can't release a [`ChannelMonitorUpdate`] until some external action completes, we
        /// store it here and only release it to the `ChannelManager` once it asks for it.