File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 11package io .api ;
22
33import io .api .etherscan .core .impl .EtherScanApi ;
4- import io .api .etherscan .manager .impl .QueueManager ;
54import io .api .etherscan .model .EthNetwork ;
65import 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 () {
You can’t perform that action at this time.
0 commit comments