Skip to content

Commit

Permalink
fix(evmstaking): panic handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ezreal1997 committed Nov 22, 2024
1 parent e18a43d commit 28b4068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/x/evmengine/keeper/db.go
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ func (k *Keeper) InsertGenesisHead(ctx context.Context, executionBlockHash []byt
func (k *Keeper) getExecutionHead(ctx context.Context) (*ExecutionHead, error) {
head, err := k.headTable.Get(ctx, executionHeadID)
if err != nil {
return nil, errors.Wrap(err, "update execution head")
return nil, errors.Wrap(err, "get execution head")
}

return head, nil

0 comments on commit 28b4068

Please sign in to comment.