From 93fde239954c4e39d25a171423abd1a77dc250f9 Mon Sep 17 00:00:00 2001 From: isstuev Date: Mon, 27 Nov 2023 11:55:41 +0100 Subject: [PATCH] bigint bug fix --- ui/address/contract/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/address/contract/utils.ts b/ui/address/contract/utils.ts index aea8a17587..c0b01b6c94 100644 --- a/ui/address/contract/utils.ts +++ b/ui/address/contract/utils.ts @@ -9,7 +9,7 @@ export const getNativeCoinValue = (value: string | Array) => { return BigInt(0); } - return BigInt(Number(_value)); + return BigInt(_value); }; export const addZeroesAllowed = (valueType: string) => {