Skip to content

Commit

Permalink
WalletAppKit: remove deprecated constructors that take NetworkParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Sep 2, 2024
1 parent 96c60b6 commit b27a99b
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions core/src/main/java/org/bitcoinj/kits/WalletAppKit.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit b27a99b

Please sign in to comment.