Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Nov 21, 2024
1 parent b6f9c60 commit 2a6881d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions block/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,10 @@ func (m *Manager) freezeNode(err error) {
return
}
uevent.MustPublish(m.Ctx, m.Pubsub, &events.DataHealthStatus{Error: err}, events.HealthStatusList)
m.P2PClient.Close()
m.DAClient.Stop()
err = m.DAClient.Stop()
if err != nil {
m.logger.Error("stop data availability layer client", "error", err)
}
m.Cancel()
}

Expand Down

0 comments on commit 2a6881d

Please sign in to comment.