From 6de206fd3b2504ac038a11b0e7399782657f0c92 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 5 Sep 2023 19:48:49 +0800 Subject: [PATCH] Revert "ethdb: add a generic notfound error" This reverts commit 340b805facc7ab218e51d3c1293358f61c1ac5ba. Signed-off-by: jsvisa --- ethdb/database.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ethdb/database.go b/ethdb/database.go index 30f047e2cf..4d4817daf2 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -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 {