From 870a46858413d4a07536958a77dc971808ce84e1 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 9 Nov 2023 09:31:02 +0200 Subject: [PATCH] add bisq segwit misderivation to mnemonic wallet discovery --- .../sparrow/control/MnemonicWalletKeystoreImportPane.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/MnemonicWalletKeystoreImportPane.java b/src/main/java/com/sparrowwallet/sparrow/control/MnemonicWalletKeystoreImportPane.java index 2ef07d88..4ca58b7f 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/MnemonicWalletKeystoreImportPane.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/MnemonicWalletKeystoreImportPane.java @@ -109,6 +109,7 @@ public class MnemonicWalletKeystoreImportPane extends MnemonicKeystorePane { List> derivations = ScriptType.getScriptTypesForPolicyType(PolicyType.SINGLE).stream().map(ScriptType::getDefaultDerivation).collect(Collectors.toList()); derivations.add(List.of(new ChildNumber(0, true))); + derivations.add(ScriptType.P2PKH.getDefaultDerivation(1)); //Bisq segwit misderivation for(ScriptType scriptType : ScriptType.getScriptTypesForPolicyType(PolicyType.SINGLE)) { for(List derivation : derivations) {