diff --git a/src/main/java/com/sparrowwallet/drongo/crypto/DeterministicKey.java b/src/main/java/com/sparrowwallet/drongo/crypto/DeterministicKey.java index 37d663b..9d4d588 100644 --- a/src/main/java/com/sparrowwallet/drongo/crypto/DeterministicKey.java +++ b/src/main/java/com/sparrowwallet/drongo/crypto/DeterministicKey.java @@ -40,6 +40,14 @@ public class DeterministicKey extends ECKey { this.parentFingerprint = parentFingerprint; } + public DeterministicKey(List childNumberPath, + byte[] chainCode, + byte[] publicKey, + int depth, + byte[] parentFingerprint) { + this(childNumberPath, chainCode, new LazyECPoint(ECKey.CURVE.getCurve(), publicKey), depth, parentFingerprint); + } + public DeterministicKey(List childNumberPath, byte[] chainCode, LazyECPoint publicAsPoint,