Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/cargo/openssl-0.10.66
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov authored Jul 30, 2024
2 parents 0634a20 + f5bccf0 commit 517e4f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/humanode-peer/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,10 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
link: grandpa_link,
network: Arc::clone(&network),
sync: Arc::clone(&sync_service),
voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(),
voting_rule: sc_consensus_grandpa::VotingRulesBuilder::new()
.add(sc_consensus_grandpa::BeforeBestBlockBy(7u32))
.add(sc_consensus_grandpa::ThreeQuartersOfTheUnfinalizedChain)
.build(),
prometheus_registry,
shared_voter_state: grandpa_shared_voter_state_cloned,
telemetry: telemetry.as_ref().map(|x| x.handle()),
Expand Down

0 comments on commit 517e4f2

Please sign in to comment.