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() {
2020 return type ;
2121 }
2222
23- public String getTraceId () {
23+ public long getTraceId () {
24+ return Long .parseLong (traceId );
25+ }
26+
27+ public String getTraceIdAsString () {
2428 return traceId ;
2529 }
2630
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public void correct() {
6464 assertFalse (txs .get (0 ).haveError ());
6565 assertFalse (txs .get (0 ).haveError ());
6666 assertNotEquals (-1 , txs .get (0 ).getTraceId ());
67+ assertNotEquals ("-1" , txs .get (0 ).getTraceIdAsString ());
6768 assertTrue (BasicUtils .isEmpty (txs .get (0 ).getErrCode ()));
6869 assertNotNull (txs .get (0 ).toString ());
6970
You can’t perform that action at this time.
0 commit comments