cross_domain_message_gossip

Function get_channel_state

source
pub fn get_channel_state<Backend>(
    backend: &Backend,
    self_chain_id: ChainId,
    chain_id: ChainId,
    channel_id: ChannelId,
) -> Result<Option<ChannelDetail>>
where Backend: AuxStore,
Expand description

Load the channel state of self_chain_id on chain_id.