From 90f3decab268bc1d395c155fbafd9265dd7a0d8a Mon Sep 17 00:00:00 2001 From: tomyrd Date: Thu, 26 Dec 2024 14:06:16 -0300 Subject: [PATCH] nit: change method name --- objects/src/block/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }