Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update contracts/utils/structs/CircularBuffer.sol
Co-authored-by: Ernesto García <[email protected]>
  • Loading branch information
Amxx and ernestognw authored Mar 25, 2024
commit 63ff766674acfed9f943bb1edea2ff083e890930
2 changes: 1 addition & 1 deletion contracts/utils/structs/CircularBuffer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ library CircularBuffer {
/**
* @dev Length of the buffer. This is the maximum number of elements kepts in the buffer.
*/
function size(Bytes32CircularBuffer storage self) internal view returns (uint256) {
function length(Bytes32CircularBuffer storage self) internal view returns (uint256) {
return self._data.length;
}

Expand Down