mirror of
https://github.com/sparrowwallet/drongo.git
synced 2025-01-26 23:21:10 +00:00
add device registration field to store ledger multisig hmacs
This commit is contained in:
parent
0df1f79e5c
commit
f67a2caf53
1 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,7 @@ public class Keystore extends Persistable {
|
||||||
private KeyDerivation keyDerivation;
|
private KeyDerivation keyDerivation;
|
||||||
private ExtendedKey extendedPublicKey;
|
private ExtendedKey extendedPublicKey;
|
||||||
private PaymentCode externalPaymentCode;
|
private PaymentCode externalPaymentCode;
|
||||||
|
private byte[] deviceRegistration;
|
||||||
private MasterPrivateExtendedKey masterPrivateExtendedKey;
|
private MasterPrivateExtendedKey masterPrivateExtendedKey;
|
||||||
private DeterministicSeed seed;
|
private DeterministicSeed seed;
|
||||||
|
|
||||||
|
@ -102,6 +103,14 @@ public class Keystore extends Persistable {
|
||||||
this.externalPaymentCode = paymentCode;
|
this.externalPaymentCode = paymentCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public byte[] getDeviceRegistration() {
|
||||||
|
return deviceRegistration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceRegistration(byte[] deviceRegistration) {
|
||||||
|
this.deviceRegistration = deviceRegistration;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean hasMasterPrivateExtendedKey() {
|
public boolean hasMasterPrivateExtendedKey() {
|
||||||
return masterPrivateExtendedKey != null;
|
return masterPrivateExtendedKey != null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue