Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed Apr 10, 2024
1 parent 0b675b6 commit dd08a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mocks/CacheManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ contract CacheManager {
uint64 size,
uint64 index
) internal {
if (queueSize + size < cacheSize) {
if (queueSize + size > cacheSize) {
revert AsmTooLarge(size, queueSize, cacheSize);
}

Expand Down

0 comments on commit dd08a3e

Please sign in to comment.