From 2366d54a5a9b6a0473c9715ee4de2136fae9afc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Rodr=C3=ADguez?= Date: Tue, 28 Mar 2023 18:48:28 +0200 Subject: [PATCH] fix: aztec address random (#99) --- yarn-project/foundation/src/aztec-address/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/foundation/src/aztec-address/index.ts b/yarn-project/foundation/src/aztec-address/index.ts index 3ec35466963..a37258ab1cc 100644 --- a/yarn-project/foundation/src/aztec-address/index.ts +++ b/yarn-project/foundation/src/aztec-address/index.ts @@ -15,7 +15,7 @@ export class AztecAddress { } public static random() { - return new AztecAddress(randomBytes(64)); + return new AztecAddress(randomBytes(32)); } public equals(rhs: AztecAddress) {