We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d885c9 commit 88bd15dCopy full SHA for 88bd15d
packages/common/src/common.ts
@@ -166,7 +166,7 @@ export class Common extends EventEmitter {
166
): Common {
167
const genesisParams = parseGethGenesis(genesisJson, chain)
168
const common = new Common({
169
- chain: genesisParams.name,
+ chain: genesisParams.name ?? 'custom',
170
customChains: [genesisParams],
171
hardfork,
172
})
0 commit comments