Change not working RPC endpoint for Goerli

This commit is contained in:
Victor Baranov 2019-07-02 18:45:28 +03:00
parent d573f55264
commit 0b8d0030ec
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ function getRPCEndpoints(network) {
case RINKEBY_CODE:
return ['https://rinkeby.infura.io/']
case GOERLI_CODE:
return ['https://goerli.blockscout.com/']
return ['https://rpc.slock.it/goerli/']
case KOVAN_CODE:
return ['https://kovan.infura.io/']
case SOKOL_CODE:

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "eth-net-props",
"version": "1.0.23",
"version": "1.0.24",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "eth-net-props",
"version": "1.0.23",
"version": "1.0.24",
"description": "Get properties of EMV-based network",
"main": "index.js",
"directories": {

View File

@ -235,7 +235,7 @@ describe('eth-net-props', () => {
const GoerliRPCEndpoints = RPCEndpoints.getRPCEndpoints(5)
assert.equal(GoerliRPCEndpoints.length, 1)
if (GoerliRPCEndpoints.length > 0) {
assert.equal(GoerliRPCEndpoints[0], 'https://goerli.blockscout.com/')
assert.equal(GoerliRPCEndpoints[0], 'https://rpc.slock.it/goerli/')
}
})
it(`${claimPrefix} Ethereum Classic`, () => {