Skip to content

Commit

Permalink
refine function name
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Oct 25, 2024
1 parent d75f04b commit 0c7b750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/consensus/types.zig
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ pub const BeaconState = union(primitives.ForkType) {
};
}

pub fn genesisValidatorsRootRef(self: *BeaconState) *primitives.Root {
pub fn genesisValidatorsRootPtr(self: *BeaconState) *primitives.Root {
return switch (self.*) {
inline else => |*state| &state.genesis_validators_root,
};
Expand Down

0 comments on commit 0c7b750

Please sign in to comment.