Add a flag to start processing statediff if we are caught up to the head of the chain #205

Merged
abdulrabbani00 merged 4 commits from feature/155-waitForSync into v1.10.16-statediff-v3 2022-03-18 13:44:13 +00:00

4 Commits

Author SHA1 Message Date
Abdul Rabbani
333dd3ff4f Updates as Per Ian's comments
1. Fix some naming inconsistencies.
2. `GetSyncStatus` returns a bool
3. `Start` handles any `errors` from the `WaitingForSync` function.
4. Add a sleep for the `while` loop.
5. Fix test based on a conditional that would never be met.
2022-03-18 08:29:36 -04:00
Abdul Rabbani
c5a36978f8 Fix lint errors 2022-03-16 15:04:31 -04:00
Abdul Rabbani
f468636a09 Update param --> parameter to fix conflicting names 2022-03-16 15:04:31 -04:00
Abdul Rabbani
e409059477 Add a flag to start processing statediff if we are caught up to the head of the chain 2022-03-16 15:04:31 -04:00