File tree 1 file changed +2
-1
lines changed
src/main/java/io/api/etherscan/core/impl
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ public EtherScanApi(final String apiKey,
88
88
89
89
final String ending = EthNetwork .TOBALABA .equals (network ) ? "com" : "io" ;
90
90
final String baseUrl = "https://" + network .getDomain () + ".etherscan." + ending + "/api" + "?apikey=" + apiKey ;
91
+ final String mainnetBaseUrl = "https://" + EthNetwork .MAINNET .getDomain () + ".etherscan." + ending + "/api" + "?apikey=" + apiKey ;
91
92
92
93
this .queueManager = queue ;
93
94
this .account = new AccountApiProvider (queue , baseUrl , executor );
@@ -97,7 +98,7 @@ public EtherScanApi(final String apiKey,
97
98
this .proxy = new ProxyApiProvider (queue , baseUrl , executor );
98
99
this .stats = new StatisticApiProvider (queue , baseUrl , executor );
99
100
this .txs = new TransactionApiProvider (queue , baseUrl , executor );
100
- this .gastracker = new GasTrackerApiProvider (queue , baseUrl , executor );
101
+ this .gastracker = new GasTrackerApiProvider (queue , mainnetBaseUrl , executor );
101
102
}
102
103
103
104
@ NotNull
You can’t perform that action at this time.
0 commit comments