Skip to content

Commit 24bd328

Browse files
committedApr 29, 2022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/providers/src.ts/json-rpc-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ export class JsonRpcProvider extends BaseProvider {
566566
if (method === "call" || method === "estimateGas") {
567567
const tx = params.transaction;
568568
if (tx && tx.type != null && BigNumber.from(tx.type).isZero()) {
569-
// If there are no EIP-1559 properties, it might be non-EIP-a559
569+
// If there are no EIP-1559 properties, it might be non-EIP-1559
570570
if (tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null) {
571571
const feeData = await this.getFeeData();
572572
if (feeData.maxFeePerGas == null && feeData.maxPriorityFeePerGas == null) {

0 commit comments

Comments
 (0)
Please sign in to comment.