From d220acacf498f6aab4788a3c0a99ddc4a63855dc Mon Sep 17 00:00:00 2001 From: mmackz Date: Tue, 11 Jun 2024 17:46:45 +0000 Subject: [PATCH] chore: format --- packages/pods/src/Pods.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/pods/src/Pods.ts b/packages/pods/src/Pods.ts index 7ecddc187..5ad8078b5 100644 --- a/packages/pods/src/Pods.ts +++ b/packages/pods/src/Pods.ts @@ -99,10 +99,10 @@ export const simulateMint = async ( const { chainId, contractAddress, tokenId, amount, recipient } = mint const _client = client ?? - createPublicClient({ + (createPublicClient({ chain: chainIdToViemChain(chainId), transport: http(), - }) as PublicClient + }) as PublicClient) const from = account ?? DEFAULT_ACCOUNT let _tokenId = tokenId if (tokenId === null || tokenId === undefined) { @@ -147,7 +147,8 @@ export const getFees = async ( transport: http(), }) as PublicClient const fixedPriceSaleStratAddress = FIXED_PRICE_SALE_STRATS[chainId] - const _tokenId = tokenId ?? (await getLatestTokenId(contractAddress, chainId, client)) + const _tokenId = + tokenId ?? (await getLatestTokenId(contractAddress, chainId, client)) const { pricePerToken } = (await client.readContract({ address: fixedPriceSaleStratAddress,