Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into salman/benchmarks-rol…
Browse files Browse the repository at this point in the history
…es-pallet
  • Loading branch information
salman01zp committed Dec 28, 2023
2 parents 74d7ed8 + 2503169 commit 2a2b0de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions node/src/chainspec/mainnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ where
pub fn authority_keys_from_seed(
controller: &str,
stash: &str,
) -> (AccountId, AccountId, BabeId, GrandpaId, ImOnlineId) {
) -> (AccountId, BabeId, GrandpaId, ImOnlineId) {
(
get_account_id_from_seed::<sr25519::Public>(controller),
get_account_id_from_seed::<sr25519::Public>(stash),
get_from_seed::<BabeId>(controller),
get_from_seed::<GrandpaId>(controller),
Expand Down Expand Up @@ -202,7 +201,7 @@ pub fn tangle_mainnet_config(chain_id: u64) -> Result<ChainSpec, String> {
#[allow(clippy::too_many_arguments)]
fn mainnet_genesis(
wasm_binary: &[u8],
initial_authorities: Vec<(AccountId, AccountId, BabeId, GrandpaId, ImOnlineId)>,
initial_authorities: Vec<(AccountId, BabeId, GrandpaId, ImOnlineId)>,
endowed_accounts: Vec<AccountId>,
root_key: AccountId,
chain_id: u64,
Expand Down

0 comments on commit 2a2b0de

Please sign in to comment.