Skip to content

Commit

Permalink
e2pg: refactor. remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandotsmith committed Oct 12, 2023
1 parent 10fd879 commit d99867d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions e2pg/e2pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"sync/atomic"
"time"

"github.com/indexsupply/x/bloom"
"github.com/indexsupply/x/eth"
"github.com/indexsupply/x/geth"
"github.com/indexsupply/x/wpg"
Expand Down Expand Up @@ -379,18 +378,6 @@ func (task *Task) Converge(notx bool) error {
return errors.Join(ErrReorg, rollback())
}

func (task *Task) skip(bf bloom.Filter) bool {
if len(task.filter) == 0 {
return false
}
for _, sig := range task.filter {
if !bf.Missing(sig) {
return false
}
}
return true
}

// Fills in task.batch with block data (headers, bodies, receipts) from
// geth and then calls Index on the task's integrations with the block
// data.
Expand Down

0 comments on commit d99867d

Please sign in to comment.