Skip to content

Commit

Permalink
bigint bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArminaAiren committed Nov 27, 2023
1 parent 3289673 commit 93fde23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/address/contract/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getNativeCoinValue = (value: string | Array<unknown>) => {
return BigInt(0);
}

return BigInt(Number(_value));
return BigInt(_value);
};

export const addZeroesAllowed = (valueType: string) => {
Expand Down

0 comments on commit 93fde23

Please sign in to comment.