Skip to content

[Bug]: passphrase transfer shows wrong/unknown toast when Trezor is off #746

Description

@piotr-iohk

What happened?

With a passphrase (hidden) hardware wallet and the Trezor fully powered off, starting a transfer that prompts for passphrase then fails with a wrong / unknown / generic error toast instead of the blue Connect Device reconnect toast.

Logs (export bitkit_logs_2026-09-11_10-29-37):

=== Opening passphraseHost session for ble:…; hadSession=false ===
Wallet mode set to passphraseHost
App Error [BitkitCore.TrezorError.DeviceNotFound]

Send from the same passphrase wallet with device off was OK in this session (no bad toast); transfer is the failing path.

Expected behavior

Map TrezorError.DeviceNotFound (and equivalent connect failures during passphraseHost reopen) to the Connect Device toast (“Could not connect to your hardware device…”), not a generic/unknown error.

Steps to Reproduce

  1. Pair a Trezor with a passphrase (hidden) wallet; leave that wallet selected.
  2. Power the Trezor fully off.
  3. Start a Transfer that requires HW passphrase (e.g. involving the passphrase wallet).
  4. Enter passphrase when prompted.
  5. Observe wrong/unknown/generic toast instead of Connect Device.

Logs / Screenshots / Recordings

Actual toast (transfer / Sign With Device, Trezor off):

Unknown error toast on Sign With Device

Expected toast (reference — Connect Device):

expected Connect Device toast

Logs:

2026-09-11-passphrase-offline-unknown-error-logs.zip

=== Opening passphraseHost session for ble:…; hadSession=false ===
Wallet mode set to passphraseHost
App Error [BitkitCore.TrezorError.DeviceNotFound]

Bitkit Version

TBD

Device / OS

TBD

Reproducibility

Always (transfer with device off + passphrase prompt)

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions