Skip to content

Commit

Permalink
remove useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Feb 19, 2024
1 parent 435682b commit 88cc3d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"math"

"github.com/streamingfast/bstream"

"github.com/streamingfast/kvdb/store"
"github.com/streamingfast/logging"
sink "github.com/streamingfast/substreams-sink"
Expand Down Expand Up @@ -79,7 +78,6 @@ func (db *OperationDB) AddOperation(op *pbkv.KVOperation) {
}
func (db *OperationDB) HandleOperations(ctx context.Context, blockNumber uint64, finalBlockHeight uint64, step bstream.StepType, kvOps *pbkv.KVOperations) error {
if step == bstream.StepNew {
db.logger.Info("handling undos", zap.Uint64("block_number", blockNumber), zap.Int("step", int(step)))
err := db.PurgeUndoOperations(ctx, finalBlockHeight)
if err != nil {
return fmt.Errorf("deleting LIB undo operations: %w", err)
Expand Down

0 comments on commit 88cc3d5

Please sign in to comment.