We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2baed38 commit ab30731Copy full SHA for ab30731
packages/horizon/contracts/libraries/LinkedList.sol
@@ -72,7 +72,7 @@ library LinkedList {
72
* @param self The list metadata
73
* @param id The id of the item to add
74
*/
75
- function addTail(List storage self, bytes32 id) external {
+ function addTail(List storage self, bytes32 id) internal {
76
require(self.count < MAX_ITEMS, LinkedListMaxElementsExceeded());
77
require(id != bytes32(0), LinkedListInvalidZeroId());
78
self.tail = id;
0 commit comments