aboutsummaryrefslogtreecommitdiffstats
path: root/core/db/level-db.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/db/level-db.go')
-rw-r--r--core/db/level-db.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/db/level-db.go b/core/db/level-db.go
index 88f5801..5296833 100644
--- a/core/db/level-db.go
+++ b/core/db/level-db.go
@@ -362,7 +362,6 @@ func (lvl *LevelDBBackedDB) Close() error {
func (lvl *LevelDBBackedDB) HasBlock(hash common.Hash) bool {
exists, err := lvl.internalHasBlock(lvl.getBlockKey(hash))
if err != nil {
- // TODO(missionliao): Modify the interface to return error.
panic(err)
}
return exists
@@ -429,7 +428,6 @@ func (lvl *LevelDBBackedDB) PutBlock(block types.Block) (err error) {
// GetAllBlocks implements Reader.GetAllBlocks method, which allows callers
// to retrieve all blocks in DB.
func (lvl *LevelDBBackedDB) GetAllBlocks() (BlockIterator, error) {
- // TODO (mission): Implement this part via goleveldb's iterator.
return nil, ErrNotImplemented
}