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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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, 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 // ensure we have a beacon entry for the epoch we're mining on