Skip to content

Commit

Permalink
pkg/cosmos: chain.GetChainStatus tolerate nil Enabled (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 authored Feb 7, 2025
1 parent a8ef07b commit f740e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cosmos/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (c *chain) GetChainStatus(ctx context.Context) (types.ChainStatus, error) {
}
return types.ChainStatus{
ID: c.id,
Enabled: *c.cfg.Enabled,
Enabled: c.cfg.IsEnabled(),
Config: toml,
}, nil
}
Expand Down

0 comments on commit f740e9a

Please sign in to comment.