Network.java: remove PROD (alias for MAIN)

This affects the command-line UI of some tools, but since the `Network`
enum hasn't been released yet, we can remove it without deprecating
first.
This commit is contained in:
Sean Gilligan 2022-04-28 15:56:08 -07:00 committed by Andreas Schildbach
parent 756e502580
commit 1283fe6f36
3 changed files with 0 additions and 3 deletions

View file

@ -23,7 +23,6 @@ import org.bitcoinj.core.NetworkParameters;
*/
public enum Network {
MAIN(NetworkParameters.ID_MAINNET),
PROD(NetworkParameters.ID_MAINNET), // alias for MAIN
TEST(NetworkParameters.ID_TESTNET),
SIGNET(NetworkParameters.ID_SIGNET),
REGTEST(NetworkParameters.ID_REGTEST);

View file

@ -78,7 +78,6 @@ public class BuildCheckpoints implements Callable<Integer> {
switch (net) {
case MAIN:
case PROD:
suffix = "";
break;
case TEST:

View file

@ -373,7 +373,6 @@ public class WalletTool implements Callable<Integer> {
String fileName;
switch (net) {
case MAIN:
case PROD:
fileName = "mainnet.chain";
break;
case TEST: