File tree 1 file changed +4
-4
lines changed
src/main/java/io/api/etherscan/model
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
public class TxInternal extends BaseTx {
12
12
13
13
private String type ;
14
- private long traceId ;
14
+ private String traceId ;
15
15
private int isError ;
16
16
private String errCode ;
17
17
@@ -20,7 +20,7 @@ public String getType() {
20
20
return type ;
21
21
}
22
22
23
- public long getTraceId () {
23
+ public String getTraceId () {
24
24
return traceId ;
25
25
}
26
26
@@ -44,15 +44,15 @@ public boolean equals(Object o) {
44
44
45
45
TxInternal that = (TxInternal ) o ;
46
46
47
- if (traceId != that .traceId )
47
+ if (! Objects . equals ( traceId , that .traceId ) )
48
48
return false ;
49
49
return Objects .equals (errCode , that .errCode );
50
50
}
51
51
52
52
@ Override
53
53
public int hashCode () {
54
54
int result = super .hashCode ();
55
- result = 31 * result + (int ) ( traceId ^ ( traceId >>> 32 ) );
55
+ result = 31 * result + (traceId != null ? traceId . hashCode () : 0 );
56
56
result = 31 * result + (errCode != null ? errCode .hashCode () : 0 );
57
57
return result ;
58
58
}
You can’t perform that action at this time.
0 commit comments