diff --git a/x/authority/keeper/chain_info.go b/x/authority/keeper/chain_info.go index 2a096a5ae2..5dc7144560 100644 --- a/x/authority/keeper/chain_info.go +++ b/x/authority/keeper/chain_info.go @@ -28,7 +28,7 @@ func (k Keeper) GetChainInfo(ctx sdk.Context) (val types.ChainInfo, found bool) // GetAdditionalChainList returns the list of chains in chain info object // returns empty list if no chains are present -func (k Keeper) GetAdditionalChainList(ctx sdk.Context) (list []chains.Chain) { +func (k Keeper) GetAdditionalChainList(ctx sdk.Context) []chains.Chain { chainInfo, found := k.GetChainInfo(ctx) if !found { return