TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.04k stars 197 forks source link

defaultChain works for initial setup only #3592

Closed dreadedhamish closed 4 months ago

dreadedhamish commented 4 months ago

I set default chain to an alternative chain (pulsechain) in trueBlocks.toml initially and did some scraping. I've now changed the value in trueBlocks.toml to "mainnet" and restarted. Trueblocks still sees pulsechain as the default chain (status messages), and to scrape "mainnet" I need to use "--chain mainnet"

dreadedhamish commented 4 months ago

False alarm I think - I also had an environmental setting in my .env I'll check next restart.

tjayrush commented 4 months ago

Very good. I was going to say that that feature has worked for a long time. So, the environment variable overrode the config file. That makes sense. I'll close this. Please reopen it if you need to.