aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-21 02:31:11 +0800
committerobscuren <geffobscura@gmail.com>2015-06-21 22:59:15 +0800
commitc590b505ed92957baf2ab4baa1788c6b0ec862cc (patch)
tree473ddb052798c30a21c05abef4764bccf4ab4e0a /common
parent3deded28a50398b8ce108c72f27ea861c1bce178 (diff)
downloaddexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar.gz
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar.bz2
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar.lz
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar.xz
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.tar.zst
dexon-c590b505ed92957baf2ab4baa1788c6b0ec862cc.zip
core, ethdb, trie: validate database errors
Diffstat (limited to 'common')
-rw-r--r--common/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/db.go b/common/db.go
index c12a2cfb0..7f3becd5a 100644
--- a/common/db.go
+++ b/common/db.go
@@ -2,7 +2,7 @@ package common
// Database interface
type Database interface {
- Put(key []byte, value []byte)
+ Put(key []byte, value []byte) error
Get(key []byte) ([]byte, error)
Delete(key []byte) error
Close()