Skip to content

fix: hw wallet naming in SP creation error#6

Open
bennet-org wants to merge 1 commit into
sparrowwallet:masterfrom
bennet-org:master
Open

fix: hw wallet naming in SP creation error#6
bennet-org wants to merge 1 commit into
sparrowwallet:masterfrom
bennet-org:master

Conversation

@bennet-org

@bennet-org bennet-org commented Jun 4, 2026

Copy link
Copy Markdown

The base HardwareClient.getSpscanAtPath() error used getModel(), but this is invoked before device is opened, so always returned its fallback. e.g. a Trezor Safe 3 reported "Trezor T does not support receiving silent payments".

shot

In this PR I've switched to getHardwareType().getDisplayName() instead, which is a constant per client and available without connecting / unlocking etc. In the case above it returns simply "Trezor".

Also clarified the wording to note the limitation applies over a direct connection.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant