trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
705 stars 248 forks source link

Custom Electrum server - Account discovery error for SegWit accounts #9391

Open simple-guy1 opened 1 year ago

simple-guy1 commented 1 year ago

Describe the bug When I connect to my own electrum server running on localhost, Trezor Suite can only find my Taproot based accounts, but can't find SegWit based accounts with error message "Account discovery error".

Info:

  1. Switch to custom electrum custom server for Bitcoin
  2. Switch to Accounts
  3. Error appears

Expected behavior Expected behaviour is that Trezor Suite finds my SegWit accounts as finds for my Taproot accounts

Additional context When I connect Sparrow wallet to same custom electrum server and load there xpub for one of my SegWit accounts, which Trezor Suite cant find, Sparrow finds its transactions.

Custom Electrum Server

services: electrumx: image: lukechilds/electrumx container_name: electrumx restart: unless-stopped expose:

volumes: electrumx_data:

networks: electrum: external: true

marekrjpolak commented 1 year ago

Hi @simple-guy1,

I've tried to reproduce what you did, with both local and public ElectrumX server, and haven't encountered any issue. Would you mind trying to connect to a public server as well, to eliminate the possibility of something being wrong with your local setup? For example, I've used bitcoin.lukechilds.co:50002:s, which should be the same ElectrumX version. If you have privacy concerns, we'll have to come up with something else.