PR fixes - remove redundant case

This commit is contained in:
Carl 2018-10-02 15:03:48 -07:00 committed by Greg Fitzgerald
parent 5491422b12
commit cd42f6591a
1 changed files with 1 additions and 3 deletions

View File

@ -188,9 +188,7 @@ impl LeaderScheduler {
return;
}
if height == self.bootstrap_height
|| (height - self.bootstrap_height) % self.seed_rotation_interval == 0
{
if (height - self.bootstrap_height) % self.seed_rotation_interval == 0 {
self.generate_schedule(height, bank);
}
}