Show the available key management RPC calls in README (#3474)

* Show the available key management RPC calls in README

* minor fixes
This commit is contained in:
Bastian Köcher
2019-08-24 11:53:44 +02:00
committed by Gavin Wood
parent 7df089241c
commit bdd6bba20a
2 changed files with 38 additions and 2 deletions
+5 -1
View File
@@ -441,7 +441,11 @@ lazy_static::lazy_static! {
/// The Cli values for all test accounts.
static ref TEST_ACCOUNTS_CLI_VALUES: Vec<KeyringTestAccountCliValues> = {
keyring::Sr25519Keyring::iter().map(|a| {
let help = format!("Shortcut for `--key //{} --name {}`.", a, a);
let help = format!(
"Shortcut for `--name {} --validator` with session keys for `{}` added to keystore.",
a,
a,
);
let conflicts_with = keyring::Sr25519Keyring::iter()
.filter(|b| a != *b)
.map(|b| b.to_string().to_lowercase())