Skip to content

Commit

Permalink
Update vanitygen.c
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt authored Dec 22, 2023
1 parent 69722d5 commit 145b86f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions vanitygen/vanitygen.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ main(int argc, char **argv)
fprintf(stderr,
"Generating BTC [Bitcoin] Testnet Address\n");
addrtype = 111;
privtype = 239;
privtype = 111+128;
break;
}

Expand All @@ -527,17 +527,10 @@ main(int argc, char **argv)
if (vg_get_altcoin(optarg, &addrtype, &privtype)) {
return 1;
}
if (strcmp(optarg, "GRS")== 0) {
GRSFlag = 1;
}
else {
fprintf(stderr,
"No coin indicated.\nGenerating/Decrypting FEC [Ferritecoin] Address by default.\n");
addrtype = 36;
privtype = 36+127;
break;

}
if (strcmp(optarg, "GRS")== 0) {
GRSFlag = 1;
}

}
break;

Expand Down

0 comments on commit 145b86f

Please sign in to comment.