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

Commitb6e9ba5

Browse files
committed
[2.1.0-SNAPSHOT]
Method renamed
1 parent519c26a commitb6e9ba5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/main/java/io/goodforgod/api/etherscan/EthScanAPIBuilder.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public EtherScanAPI.Builder withConverter(@NotNull Supplier<Converter> converter
8989
}
9090

9191
@NotNull
92-
publicEtherScanAPI.BuilderwithRetryOnLimitReach(intmaxRetryCount) {
92+
publicEtherScanAPI.BuilderwithRetryOnRateLimit(intmaxRetryCount) {
9393
if (maxRetryCount <0 ||maxRetryCount >20) {
9494
thrownewIllegalStateException("maxRetryCount value must be in range from 0 to 20, but was: " +maxRetryCount);
9595
}

‎src/main/java/io/goodforgod/api/etherscan/EtherScanAPI.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ interface Builder {
7171
* @return self
7272
*/
7373
@NotNull
74-
EtherScanAPI.BuilderwithRetryOnLimitReach(@Range(from =0,to =20)intmaxRetryCount);
74+
EtherScanAPI.BuilderwithRetryOnRateLimit(@Range(from =0,to =20)intmaxRetryCount);
7575

7676
@NotNull
7777
EtherScanAPIbuild();

‎src/test/java/io/goodforgod/api/etherscan/ApiRunner.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ApiRunner extends Assertions {
2929
.withApiKey(ApiRunner.API_KEY)
3030
.withNetwork(EthNetworks.MAINNET)
3131
.withQueue(queueManager)
32-
.withRetryOnLimitReach(5)
32+
.withRetryOnRateLimit(5)
3333
.build();
3434
}
3535

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp