diff --git a/base_layer/common_types/src/types/fixed_hash.rs b/base_layer/common_types/src/types/fixed_hash.rs index f1be1dd722..39c98c5574 100644 --- a/base_layer/common_types/src/types/fixed_hash.rs +++ b/base_layer/common_types/src/types/fixed_hash.rs @@ -59,7 +59,7 @@ impl FixedHash { 32 } - pub fn zero() -> Self { + pub const fn zero() -> Self { Self(ZERO_HASH) }