We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ethers-io
Learn more about funding links in repositories.
Report abuse
1 parent 3f631e9 commit 24bd328Copy full SHA for 24bd328
packages/providers/src.ts/json-rpc-provider.ts
@@ -566,7 +566,7 @@ export class JsonRpcProvider extends BaseProvider {
566
if (method === "call" || method === "estimateGas") {
567
const tx = params.transaction;
568
if (tx && tx.type != null && BigNumber.from(tx.type).isZero()) {
569
- // If there are no EIP-1559 properties, it might be non-EIP-a559
+ // If there are no EIP-1559 properties, it might be non-EIP-1559
570
if (tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null) {
571
const feeData = await this.getFeeData();
572
if (feeData.maxFeePerGas == null && feeData.maxPriorityFeePerGas == null) {
0 commit comments