Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Dec 20, 2024
1 parent 6239c5a commit 3ce230d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/walletextension/cache/RistrettoCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *ristrettoCache) DisableShortLiving() {
}

func (c *ristrettoCache) IsEvicted(key any, originalTTL time.Duration) bool {
if c.shortLivingEnabled.Load() == false {
if !c.shortLivingEnabled.Load() {
return true
}
remainingTTL, notExpired := c.cache.GetTTL(key)
Expand Down

0 comments on commit 3ce230d

Please sign in to comment.