1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Properly configure ethereumjs Common for Sepolia network (#15871)

This commit is contained in:
Dan J Miller 2022-09-19 10:47:40 -02:30 committed by GitHub
parent dd660f83ae
commit 075a6fb86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ export default class TransactionController extends EventEmitter {
// type will be one of our default network names or 'rpc'. the default
// network names are sufficient configuration, simply pass the name as the
// chain argument in the constructor.
if (type !== NETWORK_TYPES.RPC) {
if (type !== NETWORK_TYPES.RPC && type !== NETWORK_TYPES.SEPOLIA) {
return new Common({
chain: type,
hardfork,