Change classic RPC endpoint

This commit is contained in:
Victor Baranov 2020-02-04 18:09:31 +03:00
parent 784774b4e2
commit ee68925447
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ function getRPCEndpoints(network) {
case RSK_TESTNET_CODE:
return ['https://public-node.testnet.rsk.co']
case CLASSIC_CODE:
return ['https://classic.blockscout.com/']
return ['https://www.ethercluster.com/etc/']
default:
return []
}

2
package-lock.json generated
View File

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

View File

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

View File

@ -242,7 +242,7 @@ describe('eth-net-props', () => {
const ETCRPCEndpoints = RPCEndpoints.getRPCEndpoints(61)
assert.equal(ETCRPCEndpoints.length, 1)
if (ETCRPCEndpoints.length > 0) {
assert.equal(ETCRPCEndpoints[0], 'https://classic.blockscout.com/')
assert.equal(ETCRPCEndpoints[0], 'https://www.ethercluster.com/etc/')
}
})
})