From 609656ab58dc06423602acc6f74ad0d03caa1ba1 Mon Sep 17 00:00:00 2001 From: 0ptimizerr Date: Fri, 15 Nov 2024 12:49:22 +0545 Subject: [PATCH] chore: remove unused pow function --- .../app/src/test/java/intent_contracts/EncodingsTest.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contracts/javascore/Intent_Contracts/app/src/test/java/intent_contracts/EncodingsTest.java b/contracts/javascore/Intent_Contracts/app/src/test/java/intent_contracts/EncodingsTest.java index cfd04037..a83a7f88 100644 --- a/contracts/javascore/Intent_Contracts/app/src/test/java/intent_contracts/EncodingsTest.java +++ b/contracts/javascore/Intent_Contracts/app/src/test/java/intent_contracts/EncodingsTest.java @@ -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) {