We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d02487 commit ccc0a26Copy full SHA for ccc0a26
1 file changed
common/src/main/java/org/tron/common/utils/ByteArray.java
@@ -144,10 +144,6 @@ public static String toJsonHex(String x) {
144
}
145
146
public static BigInteger hexToBigInteger(String input) {
147
- if (input == null) {
148
- throw new IllegalArgumentException("Input cannot be null");
149
- }
150
-
151
if (input.startsWith("0x")) {
152
return new BigInteger(input.substring(2), 16);
153
} else {
0 commit comments