Skip to content

Commit

Permalink
fix: event name
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Apr 18, 2024
1 parent b1ca313 commit 5a9ce37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apiserver/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type DashboardOut struct {

func (s *Service) configureDashboard() error {
blockEvt := events.NewEventHandler(
"NewBlock",
"NewL1Block",
func(upd *blocktracker.BlocktrackerNewL1Block) error {
s.statMu.Lock()
defer s.statMu.Unlock()
Expand Down

0 comments on commit 5a9ce37

Please sign in to comment.