Skip to content

Commit

Permalink
chore: remove unused pow function
Browse files Browse the repository at this point in the history
  • Loading branch information
0ptimizerr committed Nov 15, 2024
1 parent 597d3c3 commit 609656a
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ public static byte[] hexStringToByteArray(String hexString) {
return byteArray;
}

private static BigInteger pow(BigInteger base, int exponent) {
BigInteger result = BigInteger.ONE;
for (int i = 0; i < exponent; i++) {
result = result.multiply(base);
}
return result;
}

public static String byteArrayToHex(byte[] byteArray) {
StringBuilder hexString = new StringBuilder();
for (byte b : byteArray) {
Expand Down

0 comments on commit 609656a

Please sign in to comment.