Skip to content

Commit

Permalink
Merge pull request WalletWasabi#11797 from Szpoti/preferPSBTOnImportC…
Browse files Browse the repository at this point in the history
…oldcard

Set PreferPsbtWorkflow true when importing ColdCard HW
  • Loading branch information
RolandUI authored Oct 25, 2023
2 parents ae98028 + 0f00a6c commit f0b884d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WalletWasabi/Helpers/ImportWalletHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit f0b884d

Please sign in to comment.