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

Commit5c71cac

Browse files
committed
[1.1.0]
ProxyStorageApiTest fix
1 parent774201f commit5c71cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/test/java/io/api/etherscan/proxy/ProxyStorageApiTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ public void correct() {
2424

2525
@Test(expected =InvalidAddressException.class)
2626
publicvoidinvalidParamWithError() {
27-
Optional<String>call =getApi().proxy().storageAt("0xe03d9cce9d60f3e9f2597e13cd4c54c55330cfd",0);
27+
getApi().proxy().storageAt("0xe03d9cce9d60f3e9f2597e13cd4c54c55330cfd",0);
2828
}
2929

3030
@Test
3131
publicvoidcorrectParamWithEmptyExpectedResult() {
32-
Optional<String>call =getApi().proxy().storageAt("0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd",100);
32+
finalOptional<String>call =getApi().proxy().storageAt("0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd",10000);
3333
assertFalse(call.isPresent());
3434
}
3535
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp