Skip to content

Commit

Permalink
Merge pull request #175 from EspressoSystems/ma/fix-pebble-not-found-…
Browse files Browse the repository at this point in the history
…error

Check all "not found" errors
  • Loading branch information
ImJeremyHe authored Aug 2, 2024
2 parents 9f4ef0d + 8506886 commit 5ff981a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbnode/dataposter/dbstorage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *Storage) Get(_ context.Context, index uint64) (*storage.QueuedTransacti
key := idxToKey(index)
value, err := s.db.Get(key)
if err != nil {
if errors.Is(err, leveldb.ErrNotFound) {
if isErrNotFound(err) {
return nil, nil
}
return nil, err
Expand Down

0 comments on commit 5ff981a

Please sign in to comment.