[][src]Function sc_client_api::cht::block_to_cht_number

pub fn block_to_cht_number<N: AtLeast32Bit>(
    cht_size: N,
    block_num: N
) -> Option<N>

Convert a block number to a CHT number. Returns None for block_num == 0, Some otherwise.