Skip to content

Commit

Permalink
check goerli instead of mainnet (irfanbozkurt#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
escottalexander authored Feb 19, 2024
1 parent 399af69 commit 74f0a1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const useGasEstimation = () => {
) => {
try {
let estimates: BigNumber[] = [];
if (txs.length <= 3 && targetNetwork.network == "mainnet") {
if (txs.length <= 3 && targetNetwork.network != "goerli") {
// Try to estimate the gas for the entire bundle
const bundle = [...txs.map(tx => tx.toEstimate)];
// TODO: Add catching so that if the bundle hasn't changed we don't need to call Alchemy again
Expand Down

0 comments on commit 74f0a1a

Please sign in to comment.