Skip to content

Commit

Permalink
last test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Mar 11, 2024
1 parent 7dd0c9c commit 5427d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evidence/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
// state.
func InitGenesis(ctx context.Context, k keeper.Keeper, gs *types.GenesisState) error {
if err := gs.Validate(); err != nil {
panic(fmt.Sprintf("failed to validate %s genesis state: %s", types.ModuleName, err))
return fmt.Errorf("failed to validate %s genesis state: %s", types.ModuleName, err)
}

for _, e := range gs.Evidence {
Expand Down

0 comments on commit 5427d0a

Please sign in to comment.