Skip to content

Commit

Permalink
use nil
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jul 2, 2024
1 parent d066959 commit bdc1b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/authority/keeper/chain_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (k Keeper) GetChainInfo(ctx sdk.Context) (val types.ChainInfo, found bool)
func (k Keeper) GetAdditionalChainList(ctx sdk.Context) []chains.Chain {
chainInfo, found := k.GetChainInfo(ctx)
if !found {
return []chains.Chain{}
return nil
}
return chainInfo.Chains
}

0 comments on commit bdc1b72

Please sign in to comment.