mirror of
https://github.com/sparrowwallet/drongo.git
synced 2025-01-25 22:51: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 ExtendedKey extendedPublicKey;
|
||||
private PaymentCode externalPaymentCode;
|
||||
private byte[] deviceRegistration;
|
||||
private MasterPrivateExtendedKey masterPrivateExtendedKey;
|
||||
private DeterministicSeed seed;
|
||||
|
||||
|
@ -102,6 +103,14 @@ public class Keystore extends Persistable {
|
|||
this.externalPaymentCode = paymentCode;
|
||||
}
|
||||
|
||||
public byte[] getDeviceRegistration() {
|
||||
return deviceRegistration;
|
||||
}
|
||||
|
||||
public void setDeviceRegistration(byte[] deviceRegistration) {
|
||||
this.deviceRegistration = deviceRegistration;
|
||||
}
|
||||
|
||||
public boolean hasMasterPrivateExtendedKey() {
|
||||
return masterPrivateExtendedKey != null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue