Skip to content

Commit

Permalink
fix(coordinator): fix GetAssignedTaskOfOtherProvers (#868)
Browse files Browse the repository at this point in the history
Co-authored-by: georgehao <georgehao@users.noreply.github.com>
  • Loading branch information
georgehao and georgehao authored Aug 24, 2023
1 parent ce5c6e0 commit ae2f62d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
)

var tag = "v4.1.100"
var tag = "v4.1.101"

var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {
Expand Down
2 changes: 1 addition & 1 deletion coordinator/internal/orm/prover_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (o *ProverTask) GetAssignedTaskOfOtherProvers(ctx context.Context, taskType
db = db.Where("task_type", int(taskType))
db = db.Where("task_id", taskID)
db = db.Where("prover_public_key != ?", proverPublicKey)
db = db.Where("proving_status = ?", []int{int(types.ProverAssigned)})
db = db.Where("proving_status = ?", int(types.ProverAssigned))

var proverTasks []ProverTask
if err := db.Find(&proverTasks).Error; err != nil {
Expand Down

0 comments on commit ae2f62d

Please sign in to comment.