mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-12 02:56:21 +00:00
PR feedback fixes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user