From 4620219408eac22336d1d9b81c6a4b371603663f Mon Sep 17 00:00:00 2001 From: jonesmarvin8 <83104039+jonesmarvin8@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:10:02 -0500 Subject: [PATCH] Update key_protocol/src/key_management/key_tree/keys_public.rs Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com> --- key_protocol/src/key_management/key_tree/keys_public.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/key_protocol/src/key_management/key_tree/keys_public.rs b/key_protocol/src/key_management/key_tree/keys_public.rs index c3dcadb7..d89bc8cf 100644 --- a/key_protocol/src/key_management/key_tree/keys_public.rs +++ b/key_protocol/src/key_management/key_tree/keys_public.rs @@ -54,9 +54,9 @@ impl KeyNode for ChildKeysPublic { hash_input.extend_from_slice(&cci.to_le_bytes()); let hash_value = match ((2u32).pow(31)).cmp(&cci) { - /// Harden + // Harden std::cmp::Ordering::Less => self.nth_child_harden_hash(cci), - /// Non-harden + // Non-harden std::cmp::Ordering::Greater => self.nth_child_nonharden_hash(cci), std::cmp::Ordering::Equal => self.nth_child_nonharden_hash(cci), };