Update CaravanMultisig.java

Sparrow currently makes an assumption about the derivation path to replace the "UNKNOWN" masked derivation path. Changing this to m/0/0/0/0 matches the masking provided in the Coldcard multisig config file, ensuring users are able to sign transactions without being rejected by Coldcard for a derivation path mismatch.
This commit is contained in:
jevidon 2024-05-03 09:52:08 -05:00 committed by GitHub
parent 5d2c133401
commit 405f4db05a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ public class CaravanMultisig implements WalletImport, WalletExport {
@Override
public String getName() {
return "Unchained or Caravan Multisig";
return "Caravan (Unchained Multisig)";
}
@Override
@ -56,7 +56,7 @@ public class CaravanMultisig implements WalletImport, WalletExport {
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/45'/0/0/0";
extKey.bip32Path = "m/0/0/0/0";
}
try {