mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 19:37:49 +01:00
WalletApplication: remove deprecated method that returns NetworkParameters
This commit is contained in:
parent
2cee5a35e5
commit
e9e444a425
1 changed files with 0 additions and 10 deletions
|
@ -25,7 +25,6 @@ import org.bitcoinj.base.BitcoinNetwork;
|
|||
import org.bitcoinj.base.ScriptType;
|
||||
import org.bitcoinj.base.internal.PlatformUtils;
|
||||
import org.bitcoinj.core.Context;
|
||||
import org.bitcoinj.core.NetworkParameters;
|
||||
import org.bitcoinj.kits.WalletAppKit;
|
||||
import org.bitcoinj.utils.AppDataDirectory;
|
||||
import org.bitcoinj.utils.BriefLogFormatter;
|
||||
|
@ -78,15 +77,6 @@ public abstract class WalletApplication implements AppDelegate {
|
|||
return applicationName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Parameters for network this wallet is running on
|
||||
* @deprecated Use {@link #network} (or {@link NetworkParameters#of} if you really need a {@link NetworkParameters}.)
|
||||
*/
|
||||
@Deprecated
|
||||
public NetworkParameters params() {
|
||||
return NetworkParameters.of(network);
|
||||
}
|
||||
|
||||
public BitcoinNetwork network() {
|
||||
return network;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue