Closed dsernst closed 8 years ago
In the tortoise & hare algorithm, each iteration you jump forward 2 delegates for the hare, but we were neglecting to check if only one hare jump forward would reach a vote.
A traditional tortoise and hare algorithm would have caught it, because you wouldn’t be able to jump forward twice that like — you would have hit an end — but because we have this modified version where every node has a next
pointer, but they’re only used half the time, it slid in under the radar.
This is a bug. Zain should be inheriting from Grant, but seems to think he's in a cycle.