Skip to content

Commit

Permalink
seenBatches initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
gupadhyaya committed Aug 19, 2024
1 parent a1bcd13 commit b23fe6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/dummy.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ func (d *DummySequencer) VerifyBatch(ctx context.Context, batch *sequencing.Batc
// NewDummySequencer creates a new DummySequencer
func NewDummySequencer() *DummySequencer {
return &DummySequencer{
tq: NewTransactionQueue(),
tq: NewTransactionQueue(),
seenBatches: make(map[string]struct{}, 0),
}
}

Expand Down

0 comments on commit b23fe6b

Please sign in to comment.