mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 22:25:41 +01:00
Wallet: deprecate getParms()
and getNetworkParameters()
This commit is contained in:
parent
352614280c
commit
97cd7d44fb
1 changed files with 9 additions and 1 deletions
|
@ -681,6 +681,10 @@ public class Wallet extends BaseTaggableObject
|
|||
return network;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #network()}
|
||||
*/
|
||||
@Deprecated
|
||||
public NetworkParameters getNetworkParameters() {
|
||||
return params;
|
||||
}
|
||||
|
@ -1909,7 +1913,11 @@ public class Wallet extends BaseTaggableObject
|
|||
}
|
||||
}
|
||||
|
||||
/** Returns the parameters this wallet was created with. */
|
||||
/**
|
||||
* Returns the parameters this wallet was created with.
|
||||
* @deprecated Use {@link #network()}
|
||||
*/
|
||||
@Deprecated
|
||||
public NetworkParameters getParams() {
|
||||
return params;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue