From 405f4db05a092c4b46561fd976bb4cde341b9f6d Mon Sep 17 00:00:00 2001 From: jevidon Date: Fri, 3 May 2024 09:52:08 -0500 Subject: [PATCH] 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. --- .../java/com/sparrowwallet/sparrow/io/CaravanMultisig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java b/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java index 8c84b667..c764bf39 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/CaravanMultisig.java @@ -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 {