From e87ae2bd564707311d6130c48ad0efb23224e106 Mon Sep 17 00:00:00 2001 From: danielailie Date: Fri, 8 Nov 2024 14:35:12 +0200 Subject: [PATCH] fix tests --- src/tokens.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokens.ts b/src/tokens.ts index e448e255..b01c5edf 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -237,7 +237,7 @@ export class TokenComputer { const parts = identifier.split("-"); const { prefix, ticker, randomSequence } = this.splitIdentifierIntoComponents(parts); - this.validateExtendedIdentifier(prefix, randomSequence, ticker, parts); + this.validateExtendedIdentifier(prefix, ticker, randomSequence, parts); // If identifier is for a fungible token (2 parts or 3 with prefix), return 0 if (parts.length === 2 || (prefix && parts.length === 3)) { @@ -253,7 +253,7 @@ export class TokenComputer { const parts = identifier.split("-"); const { prefix, ticker, randomSequence } = this.splitIdentifierIntoComponents(parts); - this.validateExtendedIdentifier(prefix, randomSequence, ticker, parts); + this.validateExtendedIdentifier(prefix, ticker, randomSequence, parts); if (prefix) { this.checkLengthOfPrefix(prefix); return prefix + "-" + ticker + "-" + randomSequence;