File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
package io .api ;
2
2
3
3
import io .api .etherscan .core .impl .EtherScanApi ;
4
- import io .api .etherscan .manager .impl .QueueManager ;
5
4
import io .api .etherscan .model .EthNetwork ;
6
5
import org .junit .Assert ;
7
6
@@ -19,14 +18,10 @@ public class ApiRunner extends Assert {
19
18
? EtherScanApi .DEFAULT_KEY
20
19
: apiKey ;
21
20
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 );
30
25
}
31
26
32
27
public static String getKey () {
You can’t perform that action at this time.
0 commit comments