Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit a7e8063

Browse files
committed
fix EIP-1559 not enabled on Common
1 parent 852dba3 commit a7e8063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hdwallet-provider/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class HDWalletProvider {
157157
const KNOWN_CHAIN_IDS = new Set([1, 3, 4, 5, 42]);
158158
let txOptions;
159159
if (typeof chain !== "undefined" && KNOWN_CHAIN_IDS.has(chain)) {
160-
txOptions = { common: new Common({ chain }) };
160+
txOptions = { common: new Common({ chain, hardfork: self.hardfork }) };
161161
} else if (typeof chain !== "undefined") {
162162
txOptions = {
163163
common: Common.forCustomChain(

0 commit comments

Comments
 (0)