Revert "ethdb: add a generic notfound error"

This reverts commit 340b805fac.

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2023-09-05 19:48:49 +08:00
parent 0ef7483b49
commit 6de206fd3b

View file

@ -17,15 +17,7 @@
// Package ethdb defines the interfaces for an Ethereum data store.
package ethdb
import (
"errors"
"io"
)
var (
// ErrNotFound is the errorcode if the requested key does not exist.
ErrNotFound = errors.New("not found")
)
import "io"
// KeyValueReader wraps the Has and Get method of a backing data store.
type KeyValueReader interface {