mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "ethdb: add a generic notfound error"
This reverts commit 340b805fac.
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
0ef7483b49
commit
6de206fd3b
1 changed files with 1 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue