diff --git a/objects/src/block/header.rs b/objects/src/block/header.rs index ade8b37bc..7ae216b26 100644 --- a/objects/src/block/header.rs +++ b/objects/src/block/header.rs @@ -187,7 +187,7 @@ impl BlockHeader { } /// Returns the block number of the epoch block to which this block belongs. - pub fn get_epoch_block_num(&self) -> u32 { + pub fn epoch_block_num(&self) -> u32 { block_num_from_epoch(self.block_epoch()) }