pub fn to_real_block_number(
    block_number: BlockNumber,
    latest_block_number: U64
) -> U64
Expand description

Returns the actual [U64] block number from [BlockNumber].

Arguments

  • block_number - [BlockNumber] for a block.
  • latest_block_number - A [U64] representing the latest block number.

Returns

A [U64] representing the input block number.