mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 06:14:38 +00:00
Allow VC to create password files via HTTP API
This commit is contained in:
@@ -150,7 +150,7 @@ impl FromStr for Validators {
|
||||
.map(Validators::Specific),
|
||||
other => usize::from_str(other)
|
||||
.map_err(|_| {
|
||||
format!("Expected \"all\", a list of 0x-prefixed pubkeys or an integer")
|
||||
"Expected \"all\", a list of 0x-prefixed pubkeys or an integer".to_string()
|
||||
})
|
||||
.map(Validators::Count),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user