Skip to content

Commit

Permalink
fix: remove fmt.println
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Sep 5, 2024
1 parent 828d60d commit 07a7495
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions l1infotreesync/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ func (p *processor) Reorg(ctx context.Context, firstReorgedBlock uint64) error {
tx.Rollback()
return err
}
fmt.Println("blk:", blk.FirstIndex, blk.LastIndex)
for i := blk.FirstIndex; i < blk.LastIndex; i++ {
if firstReorgedL1InfoTreeIndex == -1 {
firstReorgedL1InfoTreeIndex = int64(i)
Expand All @@ -313,7 +312,6 @@ func (p *processor) Reorg(ctx context.Context, firstReorgedBlock uint64) error {
tx.Rollback()
return err
}
fmt.Println("firstReorgedL1InfoTreeIndex:", firstReorgedL1InfoTreeIndex)
var rollbackL1InfoTree func()
if firstReorgedL1InfoTreeIndex != -1 {
rollbackL1InfoTree, err = p.l1InfoTree.Reorg(tx, uint32(firstReorgedL1InfoTreeIndex))
Expand Down

0 comments on commit 07a7495

Please sign in to comment.