adityapk00 / zecwallet-lite

Zecwallet-Lite is z-Addr first lightwallet for Zcash.
MIT License
106 stars 83 forks source link

Change zecwallet lightwalletd server #149

Open oxarbitrage opened 2 years ago

oxarbitrage commented 2 years ago

Describe the bug When i try to change the lightwalltd server to for example the community server option in France or my own custom server the lightwalletd will not change it even after restart.

To Reproduce Steps to reproduce the behavior:

  1. Go to wallet -> server info
  2. Click on switch lightwalletd server
  3. Select ZcashFR (Community) - https://lightd-main.zcashfr.io:443
  4. Restart
  5. Go to wallet -> server info

The server did not changed.

Expected behavior Server should change or error if server is down, out of sync, etc.

Is there a way to force the selected server to be used without fallback ?

Desktop (please complete the following information):

Additional context https://github.com/ZcashFoundation/zebra/issues/3655

conradoplg commented 2 years ago

I've investigated this a bit but I don't know the best way to fix it.

It seems the logic to configure the lightwalletd server was commented out in https://github.com/adityapk00/zecwallet-lite/pull/109/

I tried restoring it but ran into issues with electron-store ("fs.existsSync is not a function")

softminus commented 2 years ago

This seems like a duplicate of #67