Removed redundant print
This commit is contained in:
parent
b066738593
commit
be6974773b
|
@ -49,7 +49,8 @@ public final class PbcVanityAddressSearcher {
|
||||||
long start = System.nanoTime();
|
long start = System.nanoTime();
|
||||||
long pingInterval = INITIAL_PING_INTERVAL;
|
long pingInterval = INITIAL_PING_INTERVAL;
|
||||||
for (int iterationIdx = 1; iterationIdx < MAX_ITERATIONS_PER_THREAD; iterationIdx++) {
|
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 KeyPair keyPair = new KeyPair();
|
||||||
final BlockchainAddress address = keyPair.getPublic().createAddress();
|
final BlockchainAddress address = keyPair.getPublic().createAddress();
|
||||||
|
|
||||||
|
@ -81,7 +82,6 @@ public final class PbcVanityAddressSearcher {
|
||||||
String suffix = "";
|
String suffix = "";
|
||||||
for (int idx = 0; idx < args.length; idx++) {
|
for (int idx = 0; idx < args.length; idx++) {
|
||||||
final String word = args[idx];
|
final String word = args[idx];
|
||||||
System.out.println("%s : %s".formatted(idx, word));
|
|
||||||
if ("--prefix".equals(word)) {
|
if ("--prefix".equals(word)) {
|
||||||
prefix = args[++idx];
|
prefix = args[++idx];
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user