fn block_id_to_hash_or_height(block_id: BlockId) -> Result<HashOrHeight, Status>Expand description
Converts a BlockId into a HashOrHeight, using the hash if it is present
and the height otherwise.
fn block_id_to_hash_or_height(block_id: BlockId) -> Result<HashOrHeight, Status>Converts a BlockId into a HashOrHeight, using the hash if it is present
and the height otherwise.