We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8adc32c commit774201fCopy full SHA for 774201f
src/test/java/io/api/ApiRunner.java
@@ -1,7 +1,6 @@
1
packageio.api;
2
3
importio.api.etherscan.core.impl.EtherScanApi;
4
-importio.api.etherscan.manager.impl.QueueManager;
5
importio.api.etherscan.model.EthNetwork;
6
importorg.junit.Assert;
7
@@ -19,14 +18,10 @@ public class ApiRunner extends Assert {
19
18
?EtherScanApi.DEFAULT_KEY
20
:apiKey;
21
22
-finalQueueManagerqueue =key.equals(EtherScanApi.DEFAULT_KEY)
23
- ?QueueManager.DEFAULT_KEY_QUEUE
24
- :newQueueManager(1,2);
25
-
26
-api =newEtherScanApi(key,EthNetwork.MAINNET,queue);
27
-apiRopsten =newEtherScanApi(key,EthNetwork.ROPSTEN,queue);
28
-apiRinkeby =newEtherScanApi(key,EthNetwork.RINKEBY,queue);
29
-apiKovan =newEtherScanApi(key,EthNetwork.KOVAN,queue);
+api =newEtherScanApi(key,EthNetwork.MAINNET);
+apiRopsten =newEtherScanApi(key,EthNetwork.ROPSTEN);
+apiRinkeby =newEtherScanApi(key,EthNetwork.RINKEBY);
+apiKovan =newEtherScanApi(key,EthNetwork.KOVAN);
30
}
31
32
publicstaticStringgetKey() {