Skip to content

Commit

Permalink
nit: change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd committed Dec 26, 2024
1 parent 3f4b82d commit 90f3dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/src/block/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 90f3dec

Please sign in to comment.