mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 00:27:00 +00:00
refactor extpubkey
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user