added poa sokol
This commit is contained in:
parent
cc603fc7e3
commit
b1102bcdc1
|
@ -200,7 +200,11 @@ module.exports = class NetworkController extends EventEmitter {
|
||||||
this._configureStandardProvider({ rpcUrl: ethNetProps.RPCEndpoints(DAI_CODE)[0] })
|
this._configureStandardProvider({ rpcUrl: ethNetProps.RPCEndpoints(DAI_CODE)[0] })
|
||||||
}
|
}
|
||||||
} else if (type === POA_SOKOL) {
|
} else if (type === POA_SOKOL) {
|
||||||
|
if (this.dProviderStore.getState().dProvider) {
|
||||||
|
this._configurePocketProvider(opts)
|
||||||
|
} else {
|
||||||
this._configureStandardProvider({ rpcUrl: ethNetProps.RPCEndpoints(POA_SOKOL_CODE)[0] })
|
this._configureStandardProvider({ rpcUrl: ethNetProps.RPCEndpoints(POA_SOKOL_CODE)[0] })
|
||||||
|
}
|
||||||
} else if (type === GOERLI_TESTNET) {
|
} else if (type === GOERLI_TESTNET) {
|
||||||
if (this.dProviderStore.getState().dProvider) {
|
if (this.dProviderStore.getState().dProvider) {
|
||||||
this._configurePocketProvider(opts)
|
this._configurePocketProvider(opts)
|
||||||
|
|
Loading…
Reference in New Issue