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

Commit

Permalink
fix EIP-1559 not enabled on Common
Browse files Browse the repository at this point in the history
  • Loading branch information
XWJACK committed Oct 9, 2021
1 parent 852dba3 commit a7e8063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hdwallet-provider/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class HDWalletProvider {
const KNOWN_CHAIN_IDS = new Set([1, 3, 4, 5, 42]);
let txOptions;
if (typeof chain !== "undefined" && KNOWN_CHAIN_IDS.has(chain)) {
txOptions = { common: new Common({ chain }) };
txOptions = { common: new Common({ chain, hardfork: self.hardfork }) };
} else if (typeof chain !== "undefined") {
txOptions = {
common: Common.forCustomChain(
Expand Down

0 comments on commit a7e8063

Please sign in to comment.