1
0

Removed redundant print

This commit is contained in:
Jon Michael Aanes 2024-03-10 20:54:40 +01:00
parent b066738593
commit be6974773b
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -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];
;