mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Update blob_lru.go
This commit is contained in:
parent
127d1f42bb
commit
a75ec5b58f
1 changed files with 0 additions and 1 deletions
|
|
@ -42,7 +42,6 @@ type SizeConstrainedCache[K comparable, V blobType] struct {
|
|||
// NewSizeConstrainedCache creates a new size-constrained LRU cache.
|
||||
func NewSizeConstrainedCache[K comparable, V blobType](maxSize uint64) *SizeConstrainedCache[K, V] {
|
||||
return &SizeConstrainedCache[K, V]{
|
||||
size: 0,
|
||||
maxSize: maxSize,
|
||||
lru: NewBasicLRU[K, V](math.MaxInt),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue