From 184a208056400722bcc0824f2bbe160c7e90cfb4 Mon Sep 17 00:00:00 2001 From: jonesmarvin8 <83104039+jonesmarvin8@users.noreply.github.com> Date: Mon, 30 Mar 2026 12:51:49 -0400 Subject: [PATCH] lint fix --- key_protocol/src/key_management/key_tree/keys_public.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2b50672a..af3e3559 100644 --- a/key_protocol/src/key_management/key_tree/keys_public.rs +++ b/key_protocol/src/key_management/key_tree/keys_public.rs @@ -13,7 +13,6 @@ pub struct ChildKeysPublic { } impl ChildKeysPublic { - #[allow(clippy::big_endian_bytes)] fn compute_hash_value(&self, cci: u32) -> [u8; 64] { let mut hash_input = vec![]; @@ -31,6 +30,7 @@ impl ChildKeysPublic { hash_input.extend_from_slice(self.csk.value()); } + #[expect(clippy::big_endian_bytes, reason = "BIP-032 uses big endian")] hash_input.extend_from_slice(&cci.to_be_bytes()); hmac_sha512::HMAC::mac(hash_input, self.ccc)