Skip to content

Commit

Permalink
Refactor: addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoog committed Nov 6, 2023
1 parent 2599cb2 commit 7b13130
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/protocol/engine/booker/inmemorybooker/booker.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (b *Booker) Queue(block *blocks.Block) error {
}

// Reset resets the component to a clean state as if it was created at the last commitment.
func (b *Booker) Reset() {}
func (b *Booker) Reset() { /* nothing to reset but comply with interface */ }

func (b *Booker) Shutdown() {
b.TriggerStopped()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (c *CommitmentFilter) evaluateBlock(block *blocks.Block) {
}

// Reset resets the component to a clean state as if it was created at the last commitment.
func (c *CommitmentFilter) Reset() {}
func (c *CommitmentFilter) Reset() { /* nothing to reset but comply with interface */ }

func (c *CommitmentFilter) Shutdown() {
c.TriggerStopped()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ func (s *Scheduler) AddBlock(block *blocks.Block) {
}

// Reset resets the component to a clean state as if it was created at the last commitment.
func (s *Scheduler) Reset() {}
func (s *Scheduler) Reset() { /* nothing to reset but comply with interface */ }

0 comments on commit 7b13130

Please sign in to comment.