Add when best vanity offsets the same (#47)

This commit is contained in:
Jaco Greeff 2018-05-12 20:21:18 +02:00 committed by GitHub
parent 9ba16dabd6
commit b9fda4df7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ function showBest () {
while (true) {
const nextBest = generator(options, pkFromSeed).found.reduce((best, match) => {
if ((match.count > best.count) || ((match.count === best.count) && (match.offset < best.offset))) {
if ((match.count > best.count) || ((match.count === best.count) && (match.offset <= best.offset))) {
return match;
}