Skip to content

Commit

Permalink
style: remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Mar 25, 2024
1 parent c085e04 commit f32bc93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func (bs *BlockStore) PruneBlocks(height int64) (uint64, error) {
return 0, err
}
batch = bs.db.NewBatch()
batch.Close()
defer batch.Close()
}
}

Expand Down
2 changes: 1 addition & 1 deletion store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ func TestPruneBlocks(t *testing.T) {
assert.Nil(t, bs.LoadBlock(1501))
}

func TestPruneTxs(t *testing.T) {
func TestPruneBlocksPrunesTxs(t *testing.T) {
config := cfg.ResetTestRoot("blockchain_reactor_test")
defer os.RemoveAll(config.RootDir)

Expand Down

0 comments on commit f32bc93

Please sign in to comment.