Skip to content

Commit e7d78cb

Browse files
authored
chore: fix incorrect function name in comment (#2840)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> fix incorrect function name in comment Signed-off-by: tinyfoolish <[email protected]>
1 parent bdef117 commit e7d78cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/internal/cache/generic_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (c *Cache[T]) removeDAIncluded(hash string) {
9898
c.daIncluded.Delete(hash)
9999
}
100100

101-
// deleteAll removes all items and their associated data from the cache at the given height
101+
// deleteAllForHeight removes all items and their associated data from the cache at the given height
102102
func (c *Cache[T]) deleteAllForHeight(height uint64) {
103103
c.itemsByHeight.Delete(height)
104104
hash, ok := c.hashByHeight.Load(height)

0 commit comments

Comments
 (0)