Skip to content

Commit

Permalink
Add missing workerpool to event handlig in the BlockRetainer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed Apr 26, 2024
1 parent e0c5e67 commit a8e457c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/retainer/blockretainer/block_retainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func NewProvider() module.Provider[*engine.Engine, retainer.BlockRetainer] {
if err := r.OnBlockDropped(block); err != nil {
r.errorHandler(ierrors.Wrap(err, "failed to store on BlockDropped in retainer"))
}
})
}, asyncOpt)

// this event is fired when a new commitment is detected
e.Events.Notarization.LatestCommitmentUpdated.Hook(func(commitment *model.Commitment) {
Expand Down

0 comments on commit a8e457c

Please sign in to comment.