diff --git a/src/test/java/com/syntifi/crypto/key/Secp256k1PrivateKeyTests.java b/src/test/java/com/syntifi/crypto/key/Secp256k1PrivateKeyTests.java index b62e6a0c..2b0f65b0 100644 --- a/src/test/java/com/syntifi/crypto/key/Secp256k1PrivateKeyTests.java +++ b/src/test/java/com/syntifi/crypto/key/Secp256k1PrivateKeyTests.java @@ -8,7 +8,6 @@ import java.io.File; import java.io.IOException; import java.net.URISyntaxException; -import java.security.GeneralSecurityException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; @@ -82,7 +81,7 @@ void sign_should_sign_message() throws URISyntaxException, IOException { } @Test - void create_random_key() throws GeneralSecurityException, IOException { + void create_random_key() { Secp256k1PrivateKey sk = Secp256k1PrivateKey.deriveRandomKey(); Secp256k1PublicKey pk = (Secp256k1PublicKey) sk.derivePublicKey(); LOGGER.info(sk.getKeyPair().getPrivateKey().toString(16));