pub fn funding_stream_address(
    height: Height,
    network: Network,
    receiver: FundingStreamReceiver,
) -> Address {
    let index = funding_stream_address_index(height, network);
    let address = &FUNDING_STREAM_ADDRESSES
        .get(&network)
        .expect("there is always another hash map as value for a given valid network")
        .get(&receiver)
        .expect("in the inner hash map there is always a vector of strings with addresses")[index];
    Address::from_str(address).expect("Address should deserialize")
}
/// Return the address corresponding to given height, network and funding stream receiver.
Return the address corresponding to given height, network and funding stream receiver.
Return the address corresponding to given height network and funding stream receiver .
pub fn funding_stream_address(
    height: Height,
    network: Network,
    receiver: FundingStreamReceiver,
) -> Address {
    let index = funding_stream_address_index(height, network);
    let address = &FUNDING_STREAM_ADDRESSES
        .get(&network)
        .expect("there is always another hash map as value for a given valid network")
        .get(&receiver)
        .expect("in the inner hash map there is always a vector of strings with addresses")[index];
    Address::from_str(address).expect("Address should deserialize")
}
pub fn funding_stream_address ( height : Height , network : Network , receiver : FundingStreamReceiver , ) -> Address { let index = funding_stream_address_index ( height , network ) ; let address = & FUNDING_STREAM_ADDRESSES . get ( & network ) . expect ( " " ) . get ( & receiver ) . expect ( " " ) [ index ] ; Address :: from_str ( address ) . expect ( " " ) }
Return the address corresponding to given height, network and funding stream receiver.
Return the address corresponding to given height network and funding stream receiver .
height
Height
network
Network
receiver
FundingStreamReceiver