File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/io/api/etherscan/model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111public class TxInternal extends BaseTx {
1212
1313 private String type ;
14- private long traceId ;
14+ private String traceId ;
1515 private int isError ;
1616 private String errCode ;
1717
@@ -20,7 +20,7 @@ public String getType() {
2020 return type ;
2121 }
2222
23- public long getTraceId () {
23+ public String getTraceId () {
2424 return traceId ;
2525 }
2626
@@ -44,15 +44,15 @@ public boolean equals(Object o) {
4444
4545 TxInternal that = (TxInternal ) o ;
4646
47- if (traceId != that .traceId )
47+ if (! Objects . equals ( traceId , that .traceId ) )
4848 return false ;
4949 return Objects .equals (errCode , that .errCode );
5050 }
5151
5252 @ Override
5353 public int hashCode () {
5454 int result = super .hashCode ();
55- result = 31 * result + (int ) ( traceId ^ ( traceId >>> 32 ) );
55+ result = 31 * result + (traceId != null ? traceId . hashCode () : 0 );
5656 result = 31 * result + (errCode != null ? errCode .hashCode () : 0 );
5757 return result ;
5858 }
You can’t perform that action at this time.
0 commit comments