mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
WalletAppKit: remove deprecated constructors that take NetworkParameters
This commit is contained in:
parent
5a55660116
commit
35bef91cac
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user