Skip to content

Commit

Permalink
Trivial updates (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
kornery authored Jul 18, 2023
1 parent 52d3cce commit 0276125
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ public boolean equals(Object o) {
return Arrays.equals(data, that.data);
}

@Override
public int hashCode() {
return Arrays.hashCode(data);
}

@Override
public String toString() {
return StringUtil.toString(data);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package foundation.icon.btp.bmv.bsc2;

import score.ByteArrayObjectWriter;
import score.Context;
import score.ObjectReader;
import score.ObjectWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import foundation.icon.score.util.ArrayUtil;
import foundation.icon.score.util.StringUtil;
import score.ByteArrayObjectWriter;
import score.Context;
import score.ObjectReader;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package foundation.icon.btp.bmv.bsc2;

import foundation.icon.score.util.StringUtil;
import score.ByteArrayObjectWriter;
import score.Context;
import score.ObjectReader;
import score.ObjectWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import java.util.List;

public class Receipt {
private static final int AccessListTxType = 1;
private static final int DynamicFeeTxType = 2;
public static final int StatusFailed = 0;
private final byte[] postStatusOrState;
private final List<EventLog> logs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package foundation.icon.btp.bmv.bsc2;

import foundation.icon.score.util.StringUtil;
import score.ByteArrayObjectWriter;
import score.Context;
import score.ObjectReader;
import score.ObjectWriter;
Expand Down

0 comments on commit 0276125

Please sign in to comment.