diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/Keystore.java b/src/main/java/com/sparrowwallet/drongo/wallet/Keystore.java index dd9dd6c..af82aa0 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/Keystore.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/Keystore.java @@ -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; }