mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Fix options for --eth1-endpoints flag (#2392)
## Issue Addressed N/A ## Proposed Changes Set `config.sync_eth1_chain` to true when using just the `--eth1-endpoints` flag (without `--eth1`).
This commit is contained in:
@@ -257,6 +257,7 @@ fn eth1_endpoints_flag() {
|
||||
"https://infura.io/secret"
|
||||
);
|
||||
assert_eq!(config.eth1.endpoints[1].to_string(), "https://infura.io/");
|
||||
assert!(config.sync_eth1_chain);
|
||||
});
|
||||
}
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user