Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix: missing gas price (#2473)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirbod authored Oct 30, 2023
1 parent dd71286 commit e1e8426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/hooks/creator-token/use-creator-token-buy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const useCreatorTokenBuy = (params: {
functionName: "bulkBuy",
args: [tokenAmount, priceToBuyNext.data?.totalPrice],
chain: baseChain,
gasPrice: paddedGasPriceBigInt,
});
console.log("bulk buy request", request);
requestPayload = request;
Expand All @@ -120,6 +121,7 @@ export const useCreatorTokenBuy = (params: {

const transactionHash = await walletClient?.writeContract?.({
...requestPayload,
gasPrice: paddedGasPriceBigInt,
});

console.log("Buy transaction hash ", requestPayload);
Expand Down

0 comments on commit e1e8426

Please sign in to comment.