KeyChainGroupStructure: deprecate accountPathFor() variant that takes NetworkParameters

It seems this was forgotten earlier.
This commit is contained in:
Andreas Schildbach 2023-04-19 12:54:51 +02:00
parent e7017bfc2f
commit fe4bc813ef

View File

@ -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());
} }