cryptoadvance / specter-desktop

A desktop GUI for Bitcoin Core optimised to work with hardware wallets
MIT License
794 stars 237 forks source link

Manual RPC settings always defeated by autodetect #12

Closed kdmukai closed 4 years ago

kdmukai commented 4 years ago

Start specter-desktop on a machine that does not have a bitcoin.conf file (or is in a non-standard location). Also make sure there is no ~/.spector/config.json.

The default Specter.config sets autodetect: True. But of course autodetect will fail because it can't find bitcoin.conf.

However when manual RPC settings are entered via the UI neither "Test" nor "Save" will be able to connect because both continue to carry the autodetect: True setting. The relevant else code in get_cli in specter.py will never be run.

stepansnigirev commented 4 years ago

Should be fixed with https://github.com/cryptoadvance/specter-desktop/pull/23