PR feedback fixes

This commit is contained in:
William Banfield
2021-08-02 12:50:13 -04:00
parent df669c7bed
commit 03ee71eac4
6 changed files with 24 additions and 36 deletions
-4
View File
@@ -283,10 +283,6 @@ func (bs *BlockStore) LoadSeenCommit() *types.Commit {
return commit
}
func (bs *BlockStore) Close() error {
return bs.db.Close()
}
// PruneBlocks removes block up to (but not including) a height. It returns the number of blocks pruned.
func (bs *BlockStore) PruneBlocks(height int64) (uint64, error) {
if height <= 0 {