Skip to content

Commit

Permalink
fix: zetclient panic (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD authored Sep 22, 2023
1 parent 9db49d1 commit 19c1812
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cmd/zetaclientd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,8 @@ func start(_ *cobra.Command, _ []string) error {
startLogger.Info().Msgf("stop signal received: %s", sig)

// stop zetacore observer
for _, chain := range cfg.GetEnabledChains() {
// zeta chain does not have a chain client
if chain.IsExternalChain() {
(chainClientMap)[chain].Stop()
}

for _, client := range chainClientMap {
client.Stop()
}
zetaBridge.Stop()

Expand Down

0 comments on commit 19c1812

Please sign in to comment.