mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 10:06:45 +00:00
add private key support to eckey #2
This commit is contained in:
parent
06b46e0a02
commit
7d69fafc3e
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public class DeterministicKey extends ECKey {
|
|||
LazyECPoint publicAsPoint,
|
||||
int depth,
|
||||
byte[] parentFingerprint) {
|
||||
super(compressPoint(publicAsPoint));
|
||||
super(null, compressPoint(publicAsPoint));
|
||||
if(chainCode.length != 32) {
|
||||
throw new IllegalArgumentException("Chaincode not 32 bytes in length");
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public class DeterministicKey extends ECKey {
|
|||
byte[] chainCode,
|
||||
LazyECPoint publicAsPoint,
|
||||
DeterministicKey parent) {
|
||||
super(compressPoint(publicAsPoint));
|
||||
super(null, compressPoint(publicAsPoint));
|
||||
if(chainCode.length != 32) {
|
||||
throw new IllegalArgumentException("Chaincode not 32 bytes in length");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue