Fix #1964: remove mainnet warnings which no longer apply (#1970)

## Issue Addressed

#1964

## Proposed Changes

* remove two mainnet warnings
* reword `testnet` in logmessage
* update test
This commit is contained in:
SjonHortensius
2020-11-25 23:56:21 +00:00
parent 198c4a873d
commit 50558e61f7
3 changed files with 4 additions and 19 deletions

View File

@@ -266,17 +266,10 @@ fn run<E: EthSpec>(
info!(log, "Lighthouse started"; "version" => VERSION);
info!(
log,
"Configured for testnet";
"Configured for network";
"name" => &testnet_name
);
if testnet_name == "mainnet" {
warn!(
log,
"The mainnet specification is being used. This not recommended (yet)."
)
}
match matches.subcommand() {
("beacon_node", Some(matches)) => {
let context = environment.core_context();