Skip to content

Commit

Permalink
chore: gofmt and sql bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Dec 2, 2021
1 parent 33d3e39 commit 399f5e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chain/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/deckarep/golang-set"
mapset "github.com/deckarep/golang-set"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lily/lens"
"github.com/filecoin-project/lily/model/visor"
Expand Down Expand Up @@ -247,16 +247,16 @@ select height, task
on vpr.height = incomplete_heights.height
where (vpr.status_information != ?1
or vpr.status_information is null)
and status = ?4
and vpr.status = ?4
) incomplete_heights_and_their_completed_tasks
order by height desc
;
`,
len(AllTasks), // arg 0
visor.ProcessingStatusInformationNullRound, // arg 1
g.minHeight, // arg 2
g.maxHeight, // arg 3
visor.ProcessingStatusOK, //arg 4
g.minHeight, // arg 2
g.maxHeight, // arg 3
visor.ProcessingStatusOK, // arg 4
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 399f5e8

Please sign in to comment.