Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit774201f

Browse files
committed
[1.1.0]
ApiRunner queue removed
1 parent8adc32c commit774201f

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
packageio.api;
22

33
importio.api.etherscan.core.impl.EtherScanApi;
4-
importio.api.etherscan.manager.impl.QueueManager;
54
importio.api.etherscan.model.EthNetwork;
65
importorg.junit.Assert;
76

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

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);
21+
api =newEtherScanApi(key,EthNetwork.MAINNET);
22+
apiRopsten =newEtherScanApi(key,EthNetwork.ROPSTEN);
23+
apiRinkeby =newEtherScanApi(key,EthNetwork.RINKEBY);
24+
apiKovan =newEtherScanApi(key,EthNetwork.KOVAN);
3025
}
3126

3227
publicstaticStringgetKey() {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp