Commit b9b7b8a3 authored by Bastian Köcher's avatar Bastian Köcher Committed by Gav Wood
Browse files

Use correct account for balance initialization in chain spec (#201)

parent e3d66f0d
Pipeline #34749 passed with stages
in 29 minutes and 54 seconds
......@@ -208,12 +208,12 @@ pub fn testnet_genesis(
) -> GenesisConfig {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(|| {
vec![
get_account_id_from_seed("Alice"),
get_account_id_from_seed("Bob"),
get_account_id_from_seed("Charlie"),
get_account_id_from_seed("Dave"),
get_account_id_from_seed("Eve"),
get_account_id_from_seed("Ferdie"),
get_authority_keys_from_seed("Alice").0,
get_authority_keys_from_seed("Bob").0,
get_authority_keys_from_seed("Charlie").0,
get_authority_keys_from_seed("Dave").0,
get_authority_keys_from_seed("Eve").0,
get_authority_keys_from_seed("Ferdie").0,
]
});
......@@ -309,7 +309,7 @@ fn development_config_genesis() -> GenesisConfig {
vec![
get_authority_keys_from_seed("Alice"),
],
get_account_id_from_seed("Alice").into(),
get_account_id_from_seed("Alice"),
None,
)
}
......@@ -325,7 +325,7 @@ fn local_testnet_genesis() -> GenesisConfig {
get_authority_keys_from_seed("Alice"),
get_authority_keys_from_seed("Bob"),
],
get_account_id_from_seed("Alice").into(),
get_account_id_from_seed("Alice"),
None,
)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment