File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
main/java/io/api/etherscan/model
test/java/io/api/etherscan/account Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,11 @@ public String getType() {
20
20
return type ;
21
21
}
22
22
23
- public String getTraceId () {
23
+ public long getTraceId () {
24
+ return Long .parseLong (traceId );
25
+ }
26
+
27
+ public String getTraceIdAsString () {
24
28
return traceId ;
25
29
}
26
30
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public void correct() {
64
64
assertFalse (txs .get (0 ).haveError ());
65
65
assertFalse (txs .get (0 ).haveError ());
66
66
assertNotEquals (-1 , txs .get (0 ).getTraceId ());
67
+ assertNotEquals ("-1" , txs .get (0 ).getTraceIdAsString ());
67
68
assertTrue (BasicUtils .isEmpty (txs .get (0 ).getErrCode ()));
68
69
assertNotNull (txs .get (0 ).toString ());
69
70
You can’t perform that action at this time.
0 commit comments