aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:14 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:14 +0800
commit7633dfdc082e8a692ba8089732d353ad31b0a0d6 (patch)
tree362ea86e1edf2228fe750725d4703bf4512d6c9e /common
parent3deded28a50398b8ce108c72f27ea861c1bce178 (diff)
parenta40a91d60f978477fd2582487dfb5e83d4255bf4 (diff)
downloaddexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar.gz
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar.bz2
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar.lz
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar.xz
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.tar.zst
dexon-7633dfdc082e8a692ba8089732d353ad31b0a0d6.zip
Merge pull request #1305 from obscuren/database-error-check
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()