Skip to content

Commit

Permalink
Remove unused exceptions and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
stormeye2000 committed Jun 27, 2024
1 parent 89942bd commit 9717acf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 9717acf

Please sign in to comment.