From 0f00a6ce32e91830f92d2188fa636dafd0108683 Mon Sep 17 00:00:00 2001 From: Szpoti Date: Wed, 25 Oct 2023 14:15:51 +0200 Subject: [PATCH] Set PreferPsbtWorkflow true when importing ColdCard --- WalletWasabi/Helpers/ImportWalletHelper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WalletWasabi/Helpers/ImportWalletHelper.cs b/WalletWasabi/Helpers/ImportWalletHelper.cs index cf4da572838..a04d64ae104 100644 --- a/WalletWasabi/Helpers/ImportWalletHelper.cs +++ b/WalletWasabi/Helpers/ImportWalletHelper.cs @@ -91,6 +91,8 @@ private static KeyManager GetKeyManagerByColdcardJson(WalletManager manager, JOb ? NBitcoinHelpers.BetterParseExtPubKey(taprootXpubString) : null; - return KeyManager.CreateNewHardwareWalletWatchOnly(mfp, segwitExtPubKey, taprootExtPubKey, manager.Network, walletFullPath); + var km = KeyManager.CreateNewHardwareWalletWatchOnly(mfp, segwitExtPubKey, taprootExtPubKey, manager.Network, walletFullPath); + km.PreferPsbtWorkflow = true; + return km; } }