refactor extpubkey

This commit is contained in:
Craig Raw 2020-04-18 12:39:11 +02:00
parent 8da6226545
commit e717589c9f
2 changed files with 2 additions and 2 deletions

2
drongo

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

View file

@ -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() {