Browse Source

fix import of electrum wallet without keystore labels

terminal
Craig Raw 2 years ago
parent
commit
923c61fceb
  1. 1
      src/main/java/com/sparrowwallet/sparrow/io/Electrum.java

1
src/main/java/com/sparrowwallet/sparrow/io/Electrum.java

@ -193,6 +193,7 @@ public class Electrum implements KeystoreFileImport, WalletImport, WalletExport
keystore.setLabel(keystore.getLabel().substring(0, Keystore.MAX_LABEL_LENGTH));
}
wallet.makeLabelsUnique(keystore);
wallet.getKeystores().add(keystore);
ExtendedKey.Header xpubHeader = ExtendedKey.Header.fromExtendedKey(ek.xpub);

Loading…
Cancel
Save