Update CaravanMultisig.java

This commit is contained in:
jevidon 2024-05-03 10:09:47 -05:00 committed by GitHub
parent 405f4db05a
commit c42a7fd388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,10 +55,6 @@ public class CaravanMultisig implements WalletImport, WalletExport {
for(ExtPublicKey extKey : cf.extendedPublicKeys) {
Keystore keystore = new Keystore(extKey.name.length() > Keystore.MAX_LABEL_LENGTH ? extKey.name.substring(0, Keystore.MAX_LABEL_LENGTH) : extKey.name);
if("Unknown".equals(extKey.bip32Path)) {
extKey.bip32Path = "m/0/0/0/0";
}
try {
keystore.setKeyDerivation(new KeyDerivation(extKey.xfp, extKey.bip32Path));
} catch(NumberFormatException e) {