Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz authored and github-actions[bot] committed Jun 11, 2024
1 parent ea39e7f commit d220aca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/pods/src/Pods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit d220aca

Please sign in to comment.