From 15128b69a7a93a0a294d05b91b53164d7a90e060 Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Wed, 3 Jan 2024 10:11:10 -0600 Subject: [PATCH] Update winning_task.go last return should be true --- provider/lpwinning/winning_task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/lpwinning/winning_task.go b/provider/lpwinning/winning_task.go index 6e5e1cc5a..bf4f2fe71 100644 --- a/provider/lpwinning/winning_task.go +++ b/provider/lpwinning/winning_task.go @@ -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