Skip to content

Commit

Permalink
Update x/authority/keeper/chain_info.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry S <[email protected]>
  • Loading branch information
lumtis and swift1337 authored Jun 28, 2024
1 parent 6adf45b commit 1b07d96
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 @@ -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

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / gosec-cosmos

not enough return values

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 34 in x/authority/keeper/chain_info.go

View workflow job for this annotation

GitHub Actions / build-and-test

not enough return values
Expand Down

0 comments on commit 1b07d96

Please sign in to comment.