diff --git a/node/src/chain_spec/gen_genesis_data.rs b/node/src/chain_spec/gen_genesis_data.rs index 6c7628cf61cbdabc813e2ee4c5d3e56a8af1d4cc..f6d69f72d1b6a30c7e61b26c460162e741f68bcf 100644 --- a/node/src/chain_spec/gen_genesis_data.rs +++ b/node/src/chain_spec/gen_genesis_data.rs @@ -17,7 +17,6 @@ use crate::chain_spec::gdev::{get_authority_keys_from_seed, get_env, session_keys, AuthorityKeys}; use crate::chain_spec::{clique_wot, get_account_id_from_seed, NAMES}; use common_runtime::*; -use maplit::btreemap; use serde::{de::DeserializeOwned, Deserialize, Serialize}; use sp_core::crypto::AccountId32; use sp_core::{blake2_256, sr25519, Decode, Encode, H256}; @@ -381,7 +380,7 @@ where // Initial authorities if let Some(authority_idty_index) = authority_idty_index { if session_keys.is_some() { - return Err("session_keys field forbidden".to_owned()); + println!("session_keys are ignored due to forced authority") } if *idty_index == authority_idty_index { // online authority