mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Prompt passphrase for trezor T
This commit is contained in:
parent
4e20730379
commit
0e0fa53517
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue