mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 00:04:55 +00:00
refactor extpubkey
This commit is contained in:
+1
-1
Submodule drongo updated: 075707f1ad...97cdd62173
@@ -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