From 59d91af18ad415d3e0ca560ef7f7d6237bf35d9e Mon Sep 17 00:00:00 2001 From: danielailie Date: Fri, 8 Nov 2024 14:30:17 +0200 Subject: [PATCH] Fix typo --- src/tokens.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokens.ts b/src/tokens.ts index e18ba1cd..26784f40 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -245,8 +245,8 @@ export class TokenComputer { } // Otherwise, decode the last part as an unsigned number - const hecNonce = parts[parts.length - 1]; - return decodeUnsignedNumber(Buffer.from(hecNonce, "hex")); + const hexNonce = parts[parts.length - 1]; + return decodeUnsignedNumber(Buffer.from(hexNonce, "hex")); } extractIdentifierFromExtendedIdentifier(identifier: string): string {