mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Correct justification_generation_period from 0 to 1
Avoids a divide by zero in sc-consensus-grandpa.
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user