Skip to content

Commit

Permalink
fix: set _verifyAllocationProof visability private.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBoi9001 committed Oct 1, 2024
1 parent cf2109f commit b721f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ abstract contract AllocationManager is EIP712Upgradeable, GraphDirectory, Alloca
* @param _allocationId The id of the allocation
* @param _proof The EIP712 proof, an EIP712 signed message of (indexer,allocationId)
*/
function _verifyAllocationProof(address _indexer, address _allocationId, bytes memory _proof) internal view {
function _verifyAllocationProof(address _indexer, address _allocationId, bytes memory _proof) private view {
bytes32 digest = _encodeAllocationProof(_indexer, _allocationId);
address signer = ECDSA.recover(digest, _proof);
require(signer == _allocationId, AllocationManagerInvalidAllocationProof(signer, _allocationId));
Expand Down

0 comments on commit b721f72

Please sign in to comment.