Update winning_task.go

last return should be true
This commit is contained in:
Andrew Jackson (Ajax)
2024-01-03 10:11:10 -06:00
committed by GitHub
parent f885ffb44d
commit 15128b69a7
+1 -1
View File
@@ -167,7 +167,7 @@ func (t *WinPostTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (don
return false, xerrors.Errorf("persist no win: no rows updated")
}
return false, nil
return true, nil
}
// ensure we have a beacon entry for the epoch we're mining on