mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-30 11:24:31 +00:00
## Issue Addressed #1964 ## Proposed Changes * remove two mainnet warnings * reword `testnet` in logmessage * update test
This commit is contained in:
@@ -284,13 +284,9 @@ impl TestValidator {
|
||||
let pubkeys = stdout[..stdout.len() - 1]
|
||||
.split("\n")
|
||||
.filter_map(|line| {
|
||||
if line.starts_with(MAINNET_WARNING) {
|
||||
None
|
||||
} else {
|
||||
let tab = line.find("\t").expect("line must have tab");
|
||||
let (_, pubkey) = line.split_at(tab + 1);
|
||||
Some(pubkey.to_string())
|
||||
}
|
||||
let tab = line.find("\t").expect("line must have tab");
|
||||
let (_, pubkey) = line.split_at(tab + 1);
|
||||
Some(pubkey.to_string())
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user