mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
KeyChainGroupStructure: deprecate accountPathFor()
variant that takes NetworkParameters
It seems this was forgotten earlier.
This commit is contained in:
parent
e7017bfc2f
commit
fe4bc813ef
@ -62,7 +62,9 @@ public interface KeyChainGroupStructure {
|
|||||||
* @param outputScriptType output script type (purpose)
|
* @param outputScriptType output script type (purpose)
|
||||||
* @param networkParameters network/coin type
|
* @param networkParameters network/coin type
|
||||||
* @return The HD Path: purpose / coinType / accountIndex
|
* @return The HD Path: purpose / coinType / accountIndex
|
||||||
|
* @deprecated use {@link #accountPathFor(ScriptType, Network)}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
default HDPath accountPathFor(ScriptType outputScriptType, NetworkParameters networkParameters) {
|
default HDPath accountPathFor(ScriptType outputScriptType, NetworkParameters networkParameters) {
|
||||||
return accountPathFor(outputScriptType, networkParameters.network());
|
return accountPathFor(outputScriptType, networkParameters.network());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user