Skip to content

Commit

Permalink
fix typing Uint 256 conv
Browse files Browse the repository at this point in the history
  • Loading branch information
ClanCo committed Nov 10, 2024
1 parent b6f7b62 commit f68436e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/hooks/useNftMint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { uint256 } from "starknet";
import { erc721ABI } from "@/utils/erc721";
import { erc20ABI } from "@/utils/erc20";
import {
Expand Down Expand Up @@ -72,7 +71,7 @@ export const useNftMint = () => {
? [
contract_erc20.populate("approve", [
VITE_PUBLIC_GAME_CREDITS_TOKEN_ADDRESS,
uint256.bnToUint256(settings?.game_price || 0n),
settings?.game_price || 0n,
]),
contract_erc721.populate("public_mint", [address]),
]
Expand Down

0 comments on commit f68436e

Please sign in to comment.