Enable eth1 flag when eth1-endpoint is suppilied (#941)

This commit is contained in:
Paul Hauner
2020-04-01 17:41:19 +11:00
committed by GitHub
parent 5b984ad394
commit 0759806c89
2 changed files with 2 additions and 1 deletions

View File

@@ -216,6 +216,7 @@ pub fn get_configs<E: EthSpec>(
// Defines the URL to reach the eth1 node.
if let Some(val) = cli_args.value_of("eth1-endpoint") {
client_config.sync_eth1_chain = true;
client_config.eth1.endpoint = val.to_string();
}