Browse Source

refactor extpubkey

bwt
Craig Raw 5 years ago
parent
commit
e717589c9f
  1. 2
      drongo
  2. 2
      src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java

2
drongo

@ -1 +1 @@
Subproject commit 075707f1ad36813889b2b1ed5f59e2854ddc7dc9
Subproject commit 97cdd6217317d4f1a2238ca7d2c8161cb8534e10

2
src/main/java/com/sparrowwallet/sparrow/wallet/KeystoreController.java

@ -66,7 +66,7 @@ public class KeystoreController extends WalletFormController implements Initiali
label.textProperty().addListener((observable, oldValue, newValue) -> keystore.setLabel(newValue));
fingerprint.textProperty().addListener((observable, oldValue, newValue) -> keystore.setKeyDerivation(new KeyDerivation(newValue, keystore.getKeyDerivation().getDerivationPath())));
derivation.textProperty().addListener((observable, oldValue, newValue) -> keystore.setKeyDerivation(new KeyDerivation(keystore.getKeyDerivation().getMasterFingerprint(), newValue)));
xpub.textProperty().addListener((observable, oldValue, newValue) -> keystore.setExtendedPublicKey(ExtendedPublicKey.fromDescriptor(newValue, null)));
xpub.textProperty().addListener((observable, oldValue, newValue) -> keystore.setExtendedPublicKey(ExtendedPublicKey.fromDescriptor(newValue)));
}
public TextField getLabel() {

Loading…
Cancel
Save