Skip to content

Commit 9792f38

Browse files
committed
clarify docs
1 parent 9264d55 commit 9792f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/blockdb/cache_db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var _ database.HeightIndex = (*cacheDB)(nil)
1717
// cacheDB caches data from the underlying [Database].
1818
//
1919
// Operations (Get, Has, Put) are not atomic with the underlying database.
20-
// Concurrent access to the same height can result in cache inconsistencies where
20+
// Concurrent writes to the same height can result in cache inconsistencies where
2121
// the cache and database contain different values. This limitation is acceptable
2222
// because concurrent writes to the same height are not an intended use case.
2323
type cacheDB struct {

0 commit comments

Comments
 (0)