mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
refactor extpubkey
This commit is contained in:
parent
8da6226545
commit
e717589c9f
2 changed files with 2 additions and 2 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit 075707f1ad36813889b2b1ed5f59e2854ddc7dc9
|
Subproject commit 97cdd6217317d4f1a2238ca7d2c8161cb8534e10
|
|
@ -66,7 +66,7 @@ public class KeystoreController extends WalletFormController implements Initiali
|
||||||
label.textProperty().addListener((observable, oldValue, newValue) -> keystore.setLabel(newValue));
|
label.textProperty().addListener((observable, oldValue, newValue) -> keystore.setLabel(newValue));
|
||||||
fingerprint.textProperty().addListener((observable, oldValue, newValue) -> keystore.setKeyDerivation(new KeyDerivation(newValue, keystore.getKeyDerivation().getDerivationPath())));
|
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)));
|
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() {
|
public TextField getLabel() {
|
||||||
|
|
Loading…
Reference in a new issue