Skip to content

Commit

Permalink
client: switch to Common._getInitializedChains
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottyPoi committed Feb 8, 2022
1 parent 47e8e07 commit 0767936
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client/bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { randomBytes } from 'crypto'
import { ensureDirSync, readFileSync, removeSync } from 'fs-extra'
import { Server as RPCServer } from 'jayson/promise'
import Common, { Chain, Hardfork } from '@ethereumjs/common'
import { _getInitializedChains } from '@ethereumjs/common/dist/chains'
import { Address, toBuffer } from 'ethereumjs-util'
import { parseMultiaddrs, parseGenesisState, parseCustomParams, inspectParams } from '../lib/util'
import EthereumClient from '../lib/client'
Expand All @@ -22,7 +21,7 @@ const { hideBin } = require('yargs/helpers')

type Account = [address: Address, privateKey: Buffer]

const networks = Object.entries(_getInitializedChains().names)
const networks = Object.entries(Common._getInitializedChains().names)

let logger: Logger

Expand Down

0 comments on commit 0767936

Please sign in to comment.