Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed Apr 9, 2024
1 parent be85b7b commit acabf41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/forge-std
2 changes: 1 addition & 1 deletion src/libraries/JBMetadataResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ library JBMetadataResolver {
* @return id The resulting id
*/
function getId(string memory _functionality) internal view returns (bytes4) {
return bytes4(bytes20(address(this)) ^ bytes20(keccak256(bytes(_function))));
return bytes4(bytes20(address(this)) ^ bytes20(keccak256(bytes(_functionality))));
}

/// @notice Slice bytes from a start index to an end index.
Expand Down

0 comments on commit acabf41

Please sign in to comment.