diff --git a/core/src/main/java/org/bitcoinj/wallet/KeyChainGroupStructure.java b/core/src/main/java/org/bitcoinj/wallet/KeyChainGroupStructure.java index d155217a4..cc50a8b2f 100644 --- a/core/src/main/java/org/bitcoinj/wallet/KeyChainGroupStructure.java +++ b/core/src/main/java/org/bitcoinj/wallet/KeyChainGroupStructure.java @@ -62,7 +62,9 @@ public interface KeyChainGroupStructure { * @param outputScriptType output script type (purpose) * @param networkParameters network/coin type * @return The HD Path: purpose / coinType / accountIndex + * @deprecated use {@link #accountPathFor(ScriptType, Network)} */ + @Deprecated default HDPath accountPathFor(ScriptType outputScriptType, NetworkParameters networkParameters) { return accountPathFor(outputScriptType, networkParameters.network()); }