lighthouse-pulse/lighthouse
Pawan Dhananjay 175471a64b Fix order of testnet config load (#1558)
## Issue Addressed

Fixes #1552 

## Proposed Changes

Earlier, we were always loading the hardcoded default testnet config which is a mainnet spec. So running lighthouse with `--spec` option anything other than mainnet gave errors because we tried loading a mainnet genesis spec with `minimal`/`interop` flags.

This PR fixes the order of loading such that we load the hardcoded default spec only if neither `--testnet` and `--testnet-dir` flags are present.
2020-08-25 06:01:42 +00:00
..
environment Shift HTTP server heavy-lifting to blocking executor (#1518) 2020-08-24 03:06:10 +00:00
src Fix order of testnet config load (#1558) 2020-08-25 06:01:42 +00:00
tests Add EF launchpad import (#1381) 2020-07-29 04:32:50 +00:00
Cargo.toml Bump to v0.2.7 (#1561) 2020-08-24 08:25:34 +00:00