aboutsummaryrefslogtreecommitdiffstats
path: root/blockdb
diff options
context:
space:
mode:
authorHaoping Ku <haoping.ku@dexon.org>2018-07-17 17:35:18 +0800
committerWei-Ning Huang <w@dexon.org>2018-07-17 17:35:18 +0800
commit434c497f83c208b48c97d396513aa5deb5916b5a (patch)
tree6ffb51e635b82f9b3864c7f40ceb050017cfa292 /blockdb
parentaed24cf020bd11c3b20a7011b96c02e41894fa32 (diff)
downloaddexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.gz
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.bz2
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.lz
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.xz
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.zst
dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.zip
Fix typos and add .gitignore (#2)
* Fix typos and add .gitignore * Add more rule on .gitignore
Diffstat (limited to 'blockdb')
-rw-r--r--blockdb/interfaces.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/blockdb/interfaces.go b/blockdb/interfaces.go
index 4d35e2e..9822dfc 100644
--- a/blockdb/interfaces.go
+++ b/blockdb/interfaces.go
@@ -27,13 +27,13 @@ import (
var (
// ErrBlockExists is the error when block eixsts.
ErrBlockExists = errors.New("block exists")
- // ErrBlockDoesNotExist is the error when block does not eixsts.
+ // ErrBlockDoesNotExist is the error when block does not eixst.
ErrBlockDoesNotExist = errors.New("block does not exist")
- // ErrValidatorDoesNotExist is the error when validator does not eixsts.
+ // ErrValidatorDoesNotExist is the error when validator does not eixst.
ErrValidatorDoesNotExist = errors.New("validator does not exist")
)
-// BlockDatabase is the interface for a BlockDatabse.
+// BlockDatabase is the interface for a BlockDatabase.
type BlockDatabase interface {
Reader
Writer