diff --git a/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java b/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java index 432a6920..3e73e676 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java @@ -55,6 +55,10 @@ 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) {