mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
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:
parent
5d2c133401
commit
405f4db05a
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public class CaravanMultisig implements WalletImport, WalletExport {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "Unchained or Caravan Multisig";
|
return "Caravan (Unchained Multisig)";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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);
|
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)) {
|
if("Unknown".equals(extKey.bip32Path)) {
|
||||||
extKey.bip32Path = "m/45'/0/0/0";
|
extKey.bip32Path = "m/0/0/0/0";
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue