adapt to non-commented derivation entries for multiple derivation path wallets in coldcard export file (> 3.2.1)

This commit is contained in:
Craig Raw 2022-01-04 10:57:22 +02:00
parent bbdfec127a
commit 56363c083e

View file

@ -197,7 +197,7 @@ public class ColdcardMultisig implements WalletImport, KeystoreFileImport, Walle
for(Keystore keystore : wallet.getKeystores()) { for(Keystore keystore : wallet.getKeystores()) {
if(multipleDerivations) { if(multipleDerivations) {
writer.append("# derivation: ").append(keystore.getKeyDerivation().getDerivationPath()).append("\n"); writer.append("Derivation: ").append(keystore.getKeyDerivation().getDerivationPath()).append("\n");
} }
writer.append(keystore.getKeyDerivation().getMasterFingerprint().toUpperCase()).append(": ").append(keystore.getExtendedPublicKey().toString()).append("\n"); writer.append(keystore.getKeyDerivation().getMasterFingerprint().toUpperCase()).append(": ").append(keystore.getExtendedPublicKey().toString()).append("\n");
if(multipleDerivations) { if(multipleDerivations) {