From b27a99ba782cf4f4c232a132097818fcfd7c34e4 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 2 Sep 2024 22:01:38 +0200 Subject: [PATCH] WalletAppKit: remove deprecated constructors that take NetworkParameters --- .../java/org/bitcoinj/kits/WalletAppKit.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java index 1e31bfd7d90..2fec72bd69d 100644 --- a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java +++ b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java @@ -114,25 +114,6 @@ public class WalletAppKit extends AbstractIdleService implements Closeable { @Nullable protected DeterministicKey restoreFromKey; @Nullable protected PeerDiscovery discovery; - /** - * Creates a new WalletAppKit, with a newly created {@link Context}. Files will be stored in the given directory. - * @deprecated Use {@link #WalletAppKit(BitcoinNetwork, ScriptType, KeyChainGroupStructure, File, String)} - */ - @Deprecated - public WalletAppKit(NetworkParameters params, File directory, String filePrefix) { - this((BitcoinNetwork) params.network(), ScriptType.P2PKH, KeyChainGroupStructure.BIP32, directory, filePrefix); - } - - /** - * Creates a new WalletAppKit, with a newly created {@link Context}. Files will be stored in the given directory. - * @deprecated Use {@link #WalletAppKit(BitcoinNetwork, ScriptType, KeyChainGroupStructure, File, String)} - */ - @Deprecated - public WalletAppKit(NetworkParameters params, ScriptType preferredOutputScriptType, - @Nullable KeyChainGroupStructure structure, File directory, String filePrefix) { - this((BitcoinNetwork) params.network(), preferredOutputScriptType, structure, directory, filePrefix); - } - /** * Creates a new WalletAppKit, on the specified {@link BitcoinNetwork}. Files will be stored in the given directory. *