mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
fix account discovery on bitbox02
This commit is contained in:
parent
78f0721168
commit
d426703dcc
1 changed files with 2 additions and 1 deletions
|
|
@ -1123,7 +1123,8 @@ public class AppServices {
|
||||||
public static boolean isWhirlpoolPostmixCompatible(Wallet wallet) {
|
public static boolean isWhirlpoolPostmixCompatible(Wallet wallet) {
|
||||||
return WHIRLPOOL_NETWORKS.contains(Network.get())
|
return WHIRLPOOL_NETWORKS.contains(Network.get())
|
||||||
&& wallet.getScriptType() != ScriptType.P2TR //Taproot not yet supported
|
&& wallet.getScriptType() != ScriptType.P2TR //Taproot not yet supported
|
||||||
&& wallet.getKeystores().size() == 1;
|
&& wallet.getKeystores().size() == 1
|
||||||
|
&& wallet.getKeystores().getFirst().getWalletModel() != WalletModel.BITBOX_02; //BitBox02 does not support high account numbers
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<Wallet> addWhirlpoolWallets(Wallet decryptedWallet, String walletId, Storage storage) {
|
public static List<Wallet> addWhirlpoolWallets(Wallet decryptedWallet, String walletId, Storage storage) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue