Blockscout RPC endpoint for Classic
This commit is contained in:
parent
2c3bba312b
commit
c5dbc0eb6f
|
@ -37,7 +37,7 @@ function getRPCEndpoints(network) {
|
|||
case RSK_TESTNET_CODE:
|
||||
return ['https://public-node.testnet.rsk.co']
|
||||
case CLASSIC_CODE:
|
||||
return ['https://etc-parity.0xinfra.com']
|
||||
return ['https://classic.blockscout.com/']
|
||||
default:
|
||||
return []
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eth-net-props",
|
||||
"version": "1.0.20",
|
||||
"version": "1.0.21",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eth-net-props",
|
||||
"version": "1.0.20",
|
||||
"version": "1.0.21",
|
||||
"description": "Get properties of EMV-based network",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
|
@ -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://etc-parity.0xinfra.com')
|
||||
assert.equal(ETCRPCEndpoints[0], 'https://classic.blockscout.com/')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue