Skip to content

Commit ccc0a26

Browse files
committed
remove check
1 parent 7d02487 commit ccc0a26

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

common/src/main/java/org/tron/common/utils/ByteArray.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ public static String toJsonHex(String x) {
144144
}
145145

146146
public static BigInteger hexToBigInteger(String input) {
147-
if (input == null) {
148-
throw new IllegalArgumentException("Input cannot be null");
149-
}
150-
151147
if (input.startsWith("0x")) {
152148
return new BigInteger(input.substring(2), 16);
153149
} else {

0 commit comments

Comments
 (0)