Skip to content

Commit 2a1d79a

Browse files
tac0turtlealpe
andauthored
Update execution/evm/store.go
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
1 parent bbefeba commit 2a1d79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

execution/evm/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func (s *EVMStore) GetExecMeta(ctx context.Context, height uint64) (*ExecMeta, e
105105
key := execMetaKey(height)
106106
data, err := s.db.Get(ctx, key)
107107
if err != nil {
108-
if err == ds.ErrNotFound {
108+
if errors.Is(err, ds.ErrNotFound)
109109
return nil, nil
110110
}
111111
return nil, fmt.Errorf("failed to get exec meta: %w", err)

0 commit comments

Comments
 (0)