From 2fa6f692b76ea5b0c4a5f3d37fe0386807f60ac0 Mon Sep 17 00:00:00 2001 From: Abraham Makovetsky Date: Sun, 22 Oct 2023 20:27:44 +0300 Subject: [PATCH] release: latest changes --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index d875dc0..8ca9d49 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -90,7 +90,7 @@ export const isHex = (hex: string) => /^0x[0-9a-f]*$/i.test(hex); export const removeHexPrefix = (hex: string) => hex.replace(/^0x/i, ""); -export const isDecimalString = (decim: string) => /^[0-9]*$/i.test(decim); +export const isDecimalString = (decimal: string) => /^[0-9]*$/i.test(decimal); export const decodeShortString = (str: string): string => { if (!isASCII(str)) {