for t.currentHeight, t.currentHash = beginHeight, beginHash; len(jobs) != 0; {
if t.currentHeight == t.tracerService.BestHeight() {
if ok, err := t.finishJobs(jobs); err != nil {
for t.currentHeight, t.currentHash = beginHeight, beginHash; len(jobs) != 0; {
if t.currentHeight == t.tracerService.BestHeight() {
if ok, err := t.finishJobs(jobs); err != nil {