Skip to content

Commit

Permalink
remove hardcoded scheduled GRANDPA pause (paritytech#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva authored and General-Beck committed Mar 19, 2020
1 parent e8f28d2 commit d897cc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,6 @@ pub fn new_full<Runtime, Dispatch, Extrinsic>(
// add a custom voting rule to temporarily stop voting for new blocks
// after the given pause block is finalized and restarting after the
// given delay.

// temporarily hardcode a GRANDPA pause for the upcoming runtime upgrade
let grandpa_pause = grandpa_pause.or(Some((1491586, 6000)));

let voting_rule = match grandpa_pause {
Some((block, delay)) => {
info!("GRANDPA scheduled voting pause set for block #{} with a duration of {} blocks.",
Expand Down

0 comments on commit d897cc5

Please sign in to comment.