From be6974773b368d28f88033b3519481998495e15e Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Sun, 10 Mar 2024 20:54:40 +0100 Subject: [PATCH] Removed redundant print --- src/main/java/jmaa/pbc/PbcVanityAddressSearcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/jmaa/pbc/PbcVanityAddressSearcher.java b/src/main/java/jmaa/pbc/PbcVanityAddressSearcher.java index 1d05d42..83948c0 100644 --- a/src/main/java/jmaa/pbc/PbcVanityAddressSearcher.java +++ b/src/main/java/jmaa/pbc/PbcVanityAddressSearcher.java @@ -49,7 +49,8 @@ public final class PbcVanityAddressSearcher { long start = System.nanoTime(); long pingInterval = INITIAL_PING_INTERVAL; for (int iterationIdx = 1; iterationIdx < MAX_ITERATIONS_PER_THREAD; iterationIdx++) { - // Generate random keypair + // Generate random keypair using SecureRandom + // This _should_ be safe enough, given the requirements on ECDSA. final KeyPair keyPair = new KeyPair(); final BlockchainAddress address = keyPair.getPublic().createAddress(); @@ -81,7 +82,6 @@ public final class PbcVanityAddressSearcher { String suffix = ""; for (int idx = 0; idx < args.length; idx++) { final String word = args[idx]; - System.out.println("%s : %s".formatted(idx, word)); if ("--prefix".equals(word)) { prefix = args[++idx]; ;