From 2aae22a020ecfe67f5312c435a535e7162c57247 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Fri, 7 Feb 2025 07:26:14 -0600 Subject: [PATCH] pkg/cosmos: chain.GetChainStatus tolerate nil Enabled --- pkg/cosmos/chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cosmos/chain.go b/pkg/cosmos/chain.go index 16a7ca97..f577e596 100644 --- a/pkg/cosmos/chain.go +++ b/pkg/cosmos/chain.go @@ -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 }