Skip to content

Commit 6c5fbdf

Browse files
committed
New urls for the nextworks ..
* api- prefix * changed for all 3 testnets
1 parent fc720a3 commit 6c5fbdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/init.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const querystring = require('querystring');
44

55
const MAIN_API_URL = 'https://api.etherscan.io';
66
const TESTNET_API_URL_MAP = {
7-
ropsten: 'https://ropsten.etherscan.io',
8-
kovan: 'https://kovan.etherscan.io',
9-
rinkeby: 'https://rinkeby.etherscan.io'
7+
ropsten: 'http://api-ropsten.etherscan.io',
8+
kovan: 'http://api-kovan.etherscan.io',
9+
rinkeby: 'https://api-rinkeby.etherscan.io'
1010
};
1111

1212
/**

0 commit comments

Comments
 (0)