[bug]: electrs fails to boot if certain fields are populated in the config
Closed this issue · 2 comments
tinysound464 commented
Prerequisites
- I have searched for existing issues that already report this problem.
Device
Laptop/Desktop
Device OS
MacOS
Device OS Version
12.7.4
Browser
Other
Browser Version
104.0-1
Current Behavior
If the following configuration fields:
- Index Batch Size
- Index Lookup Limit
are populated, even with default values, electrs v0.10.3 fails to start. Logs show the following error:
2024-02-21T21:08:15+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:08:30+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:08:46+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:09:02+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:09:18+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:09:34+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
2024-02-21T21:09:55+00:00 Error: Failed to parse configuration file electrs.toml: duplicate field `index_batch_size` at line 1 column 1
Expected Behavior
electrs starts properly
Steps to Reproduce
install electrs v0.10.3, populate values in the above noted fields, start electrs.
Anything else?
If you remove the values in those fields and click save, then reboot the container it works fine.