Skip to content

Commit

Permalink
Merge pull request #224 from skip-mev/remove-getGasPrice
Browse files Browse the repository at this point in the history
remove getGasPrice
  • Loading branch information
codingki authored Mar 26, 2024
2 parents 78b6cbe + 113dec4 commit 52c3cec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/TransactionDialog/TransactionDialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useAccount } from "@/hooks/useAccount";
import { useFinalityTimeEstimate } from "@/hooks/useFinalityTimeEstimate";
import { useWalletAddresses } from "@/hooks/useWalletAddresses";
import { useBroadcastedTxsStatus, useSkipClient } from "@/solve";
import { getChainGasPrice } from "@/utils/chain.client";
import { isUserRejectedRequestError } from "@/utils/error";
import { getExplorerUrl } from "@/utils/explorer";
import { isCCTPLedgerBrokenInOperation, isEthermintLedgerInOperation } from "@/utils/ledger-warning";
Expand Down Expand Up @@ -71,7 +70,6 @@ function TransactionDialogContent({ route, onClose, isAmountError, transactionCo
userAddresses,
validateGasBalance: route.txsRequired === 1,
slippageTolerancePercent: useSettingsStore.getState().slippage,
getGasPrice: getChainGasPrice,
onTransactionTracked: async (txStatus) => {
const makeExplorerUrl = await getExplorerUrl(txStatus.chainID);
const explorerLink = makeExplorerUrl?.(txStatus.txHash);
Expand Down

0 comments on commit 52c3cec

Please sign in to comment.