Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Dec 20, 2024
1 parent e9090d3 commit dd7bcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gasPriceOracle/oracle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function getEthersGasPriceEstimate(

let gasPriceFeed = gasPriceFeeds[chainId];
assert(gasPriceFeed || legacyFallback, `No suitable gas price oracle for Chain ID ${chainId}`);
gasPriceFeed ??= chainIsOPStack(chainId) ? op.eip1559 : ethereum.legacy;
gasPriceFeed ??= chainIsOPStack(chainId) ? ethereum.eip1559 : ethereum.legacy;

return gasPriceFeed(provider, chainId);
}
Expand Down

0 comments on commit dd7bcf9

Please sign in to comment.