Update key_protocol/src/key_management/key_tree/keys_public.rs

Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
jonesmarvin8 2026-01-07 18:10:02 -05:00 committed by GitHub
parent 065eeac3b2
commit 4620219408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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),
};