docs: fixed typo in comments (#2662).
This commit is contained in:
parent
3f631e9681
commit
24bd3281f7
@ -566,7 +566,7 @@ export class JsonRpcProvider extends BaseProvider {
|
||||
if (method === "call" || method === "estimateGas") {
|
||||
const tx = params.transaction;
|
||||
if (tx && tx.type != null && BigNumber.from(tx.type).isZero()) {
|
||||
// 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
|
||||
if (tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null) {
|
||||
const feeData = await this.getFeeData();
|
||||
if (feeData.maxFeePerGas == null && feeData.maxPriorityFeePerGas == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user