From 3ebdb3ab522acef89741026c2b890b507295cdcc Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 5 Jul 2025 23:06:06 -0700 Subject: [PATCH] Define separate constant for key byte lengths. --- src/lib/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index edcae0c..937b84f 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,7 +1,8 @@ // SPDX-FileCopyrightText: 2025 Chris Duncan // SPDX-License-Identifier: GPL-3.0-or-later -export const ACCOUNT_KEY_LENGTH = 64 +export const ACCOUNT_KEY_BYTE_LENGTH = 32 +export const ACCOUNT_KEY_HEX_LENGTH = 64 export const ADDRESS_GAP = 20 export const ALPHABET = '13456789abcdefghijkmnopqrstuwxyz' export const BIP39_ITERATIONS = 2048 -- 2.47.3