Prompt passphrase for trezor T

This commit is contained in:
nicolas.dorier 2019-12-05 22:47:07 +09:00
parent 4e20730379
commit 0e0fa53517
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -91,8 +91,8 @@ namespace BTCPayServer.Controllers
{
try
{
// On trezor T this will prompt the password!
await device.PromptPinAsync(cancellationToken);
// On trezor T this will prompt the password! (https://github.com/bitcoin-core/HWI/issues/283)
_ = device.GetXPubAsync(new KeyPath("44'"), cancellationToken);
}
catch (HwiException ex) when (ex.ErrorCode == HwiErrorCode.DeviceAlreadyUnlocked)
{