// Counterparty designates channel data owned by the another channel participant entity.
pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
pub context: ChannelContext<SP>,
- pub dual_funding_channel_context: Option<DualFundingChannelContext>,
}
#[cfg(any(test, fuzzing))]
let mut channel = Channel {
context: self.context,
- dual_funding_channel_context: None,
};
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
// `ChannelMonitor`.
let mut channel = Channel {
context: self.context,
- dual_funding_channel_context: None,
};
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
blocked_monitor_updates: blocked_monitor_updates.unwrap(),
is_manual_broadcast: is_manual_broadcast.unwrap_or(false),
},
- dual_funding_channel_context: None,
})
}
}