Skip to content

Commit 774201f

Browse files
committed
[1.1.0]
ApiRunner queue removed
1 parent 8adc32c commit 774201f

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/test/java/io/api/ApiRunner.java

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package io.api;
22

33
import io.api.etherscan.core.impl.EtherScanApi;
4-
import io.api.etherscan.manager.impl.QueueManager;
54
import io.api.etherscan.model.EthNetwork;
65
import org.junit.Assert;
76

@@ -19,14 +18,10 @@ public class ApiRunner extends Assert {
1918
? EtherScanApi.DEFAULT_KEY
2019
: apiKey;
2120

22-
final QueueManager queue = key.equals(EtherScanApi.DEFAULT_KEY)
23-
? QueueManager.DEFAULT_KEY_QUEUE
24-
: new QueueManager(1, 2);
25-
26-
api = new EtherScanApi(key, EthNetwork.MAINNET, queue);
27-
apiRopsten = new EtherScanApi(key, EthNetwork.ROPSTEN, queue);
28-
apiRinkeby = new EtherScanApi(key, EthNetwork.RINKEBY, queue);
29-
apiKovan = new EtherScanApi(key, EthNetwork.KOVAN, queue);
21+
api = new EtherScanApi(key, EthNetwork.MAINNET);
22+
apiRopsten = new EtherScanApi(key, EthNetwork.ROPSTEN);
23+
apiRinkeby = new EtherScanApi(key, EthNetwork.RINKEBY);
24+
apiKovan = new EtherScanApi(key, EthNetwork.KOVAN);
3025
}
3126

3227
public static String getKey() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy