hostd icon indicating copy to clipboard operation
hostd copied to clipboard

hostd v2.0.2 does not rescan wallet on seed change

Open npelov opened this issue 10 months ago • 0 comments

Current Behavior

After changing the seed hostd v2.0.2 did not rescan the wallet and showed the amount from the previous wallet. Changing seed works fine in v1.1.2 (both on windows and linux+docker)

Expected Behavior

if wallet is changed hostd should rescan the wallet (assuming there is no other way to achieve that)

Steps to Reproduce

  1. use a fully sync'ed hostd
  2. stop the hostd
  3. change wallet seed
  4. start hostd
  5. check the wallet - old amount is still there, no wallet rescanning

Version

v2.0.2

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

RockyLinux 9 (RHEL9) + Docker

Anything else?

I used workaround:

  1. stop hostd
  2. rename consensus.db
  3. start hostd
  4. stop hostd
  5. restore the original consensus.db
  6. start hostd
  7. now hostd scans blockchain for wallet transactions

npelov avatar Jan 25 '25 19:01 npelov