mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Correct justification_generation_period from 0 to 1
Avoids a divide by zero in sc-consensus-grandpa.
This commit is contained in:
parent
1820e916ca
commit
f03ca53509
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ pub fn new_full(config: Configuration) -> Result<TaskManager, ServiceError> {
|
|||
gossip_duration: std::time::Duration::from_millis(333),
|
||||
// This is the delay between generating justifications for blocks
|
||||
// We attemopt to generate a justification for every block
|
||||
justification_generation_period: 0,
|
||||
justification_generation_period: 1,
|
||||
name: Some(name),
|
||||
observer_enabled: false,
|
||||
keystore: if role.is_authority() { Some(keystore) } else { None },
|
||||
|
|
Loading…
Reference in a new issue