From 0097a1ecbc785a03136b2d60eddb0435b12d362d Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 8 Feb 2021 09:36:24 +0200 Subject: [PATCH] also show legacy qr display for imported keystores --- .../sparrowwallet/sparrow/transaction/HeadersController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java index 8fac7034..6d1941be 100644 --- a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java +++ b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java @@ -633,7 +633,7 @@ public class HeadersController extends TransactionFormController implements Init toggleButton.setSelected(false); //TODO: Remove once Cobo Vault has upgraded to UR2.0 - boolean addLegacyEncodingOption = headersForm.getSigningWallet().getKeystores().stream().anyMatch(keystore -> keystore.getWalletModel().equals(WalletModel.COBO_VAULT)); + boolean addLegacyEncodingOption = headersForm.getSigningWallet().getKeystores().stream().anyMatch(keystore -> keystore.getWalletModel().equals(WalletModel.COBO_VAULT) || keystore.getWalletModel().equals(WalletModel.SPARROW)); try { QRDisplayDialog qrDisplayDialog = new QRDisplayDialog(RegistryType.CRYPTO_PSBT.toString(), headersForm.getPsbt().serialize(), addLegacyEncodingOption);