aboutsummaryrefslogtreecommitdiffstats
path: root/common/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/db.go')
-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()