mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-27 05:56:45 +00:00
Update CaravanMultisig.java
This commit is contained in:
parent
405f4db05a
commit
c42a7fd388
1 changed files with 0 additions and 4 deletions
|
@ -55,10 +55,6 @@ public class CaravanMultisig implements WalletImport, WalletExport {
|
||||||
for(ExtPublicKey extKey : cf.extendedPublicKeys) {
|
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);
|
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 {
|
try {
|
||||||
keystore.setKeyDerivation(new KeyDerivation(extKey.xfp, extKey.bip32Path));
|
keystore.setKeyDerivation(new KeyDerivation(extKey.xfp, extKey.bip32Path));
|
||||||
} catch(NumberFormatException e) {
|
} catch(NumberFormatException e) {
|
||||||
|
|
Loading…
Reference in a new issue