Allow VC to create password files via HTTP API

This commit is contained in:
Paul Hauner
2022-08-29 15:30:02 +10:00
parent be8463770f
commit 2abde0b666
15 changed files with 189 additions and 47 deletions

View File

@@ -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),
}