canaccept oops

This commit is contained in:
Andrew Jackson (Ajax) 2023-10-22 23:03:06 -05:00
parent 5b5ae80e30
commit 6bfa289d3c

View File

@ -122,7 +122,7 @@ func (t *WdPostTask) CanAccept(ids []harmonytask.TaskID, te *harmonytask.TaskEng
Close abi.ChainEpoch
}
var tasks []wdTaskDef
err = t.db.Select(context.Background(), tasks,
err = t.db.Select(context.Background(), &tasks,
`Select tskey,
task_id,
period_start,