From 659858a69646b48a91fd29bbad801cf2cde2bc60 Mon Sep 17 00:00:00 2001 From: josh crites Date: Thu, 17 Aug 2023 21:08:54 -0400 Subject: [PATCH] Update lib.nr --- src/lib.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.nr b/src/lib.nr index 90f136b..580dd2a 100644 --- a/src/lib.nr +++ b/src/lib.nr @@ -241,7 +241,7 @@ fn test_u8_32_to_u160() { 193,255,211,207,238,45,158,92,214,118,67,248,243,159,214,229,26,173,136,246,244,206,106,184,130,114,121,207,255,185,34,102 ]; - let mut right_20_bytes: [u8; 20] = [0; 20]; + let mut right_20_bytes: [u8] = [0]; for i in 0..20 { right_20_bytes[i] = hashed_pub_key[i + 12]; }