diff options
author | Haoping Ku <haoping.ku@dexon.org> | 2018-07-17 17:35:18 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-07-17 17:35:18 +0800 |
commit | 434c497f83c208b48c97d396513aa5deb5916b5a (patch) | |
tree | 6ffb51e635b82f9b3864c7f40ceb050017cfa292 /blockdb/interfaces.go | |
parent | aed24cf020bd11c3b20a7011b96c02e41894fa32 (diff) | |
download | tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.gz tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.bz2 tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.lz tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.xz tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.zst tangerine-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.zip |
Fix typos and add .gitignore (#2)
* Fix typos and add .gitignore
* Add more rule on .gitignore
Diffstat (limited to 'blockdb/interfaces.go')
-rw-r--r-- | blockdb/interfaces.go | 6 |
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 |