Skip to content

Commit 2eea1ec

Browse files
authored
Typo
1 parent 727b9bc commit 2eea1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/transactions/verify/verifiedTxnCache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var errTooManyPinnedEntries = &VerifiedTxnCacheError{errors.New("Too many pinned
4949
// errMissingPinnedEntry is being generated when we're trying to pin a transaction that does not appear in the cache
5050
var errMissingPinnedEntry = &VerifiedTxnCacheError{errors.New("Missing pinned entry")}
5151

52-
// VerifiedTransactionCache provides a cached store of recently verified transactions. The cache is desiged to have two separate "levels". On the
52+
// VerifiedTransactionCache provides a cached store of recently verified transactions. The cache is designed to have two separate "levels". On the
5353
// bottom tier, the cache would be using a cyclic buffer, where old transactions would end up overridden by new ones. In order to support transactions
5454
// that goes into the transaction pool, we have a higher tier of pinned cache. Pinned transactions would not be cycled-away by new incoming transactions,
5555
// and would only get eliminated by updates to the transaction pool, which would inform the cache of updates to the pinned items.

0 commit comments

Comments
 (0)