From 370ad8107482451ec407aaa3c60d2c24f1437145 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Sun, 27 Aug 2023 08:41:21 +0800 Subject: [PATCH] ethdb: simple var Signed-off-by: jsvisa --- ethdb/database.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ethdb/database.go b/ethdb/database.go index 30f047e2cf..75cc545f77 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -22,10 +22,8 @@ import ( "io" ) -var ( - // ErrNotFound is the errorcode if the requested key does not exist. - ErrNotFound = errors.New("not found") -) +// ErrNotFound is the errorcode if the requested key does not exist. +var ErrNotFound = errors.New("not found") // KeyValueReader wraps the Has and Get method of a backing data store. type KeyValueReader interface {