pub(super) async fn check_height(
state: &mut CupratedRpcHandler,
height: u64,
) -> Result<u64, Error>
Expand description
Check if height
is greater than the top_height
.
§Errors
This returns the top_height
on Ok
and
returns Error
if height
is greater than top_height
.