Skip to content

Commit aa4f747

Browse files
committed
chore: fix incorrect function name in comment
Signed-off-by: tinyfoolish <tinyfoolish@outlook.com>
1 parent bdef117 commit aa4f747

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)