From f740e9ae54e79762991bdaf8ad6b50363261c056 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Fri, 7 Feb 2025 07:50:25 -0600 Subject: [PATCH] pkg/cosmos: chain.GetChainStatus tolerate nil Enabled (#430) --- 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 }