Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Apr 16, 2024
1 parent da7282f commit c59955e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/src/chain_spec/pangolin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ pub fn genesis_config() -> ChainSpec {
darwinia_staking: DarwiniaStakingConfig {
now: SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(),
elapsed_time: 0,
max_unstake_ring: 10_000_000 * UNIT,
collator_count: 3,
collators: vec![
(array_bytes::hex_n_into_unchecked::<_, _, 20>(C1), UNIT),
Expand Down Expand Up @@ -291,6 +292,7 @@ fn testnet_genesis(
darwinia_staking: DarwiniaStakingConfig {
now: SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(),
elapsed_time: 0,
max_unstake_ring: 10_000_000 * UNIT,
collator_count: collators.len() as _,
collators: collators.iter().map(|(a, _)| (a.to_owned(), UNIT)).collect(),
},
Expand Down

0 comments on commit c59955e

Please sign in to comment.