Skip to content

fix: correct JSDoc parameter description in blake512FromPath#366

Open
Lil-Duckling-22 wants to merge 1 commit into
privacy-ethereum:devfrom
Lil-Duckling-22:fix/crypto-jsdoc-param-correction
Open

fix: correct JSDoc parameter description in blake512FromPath#366
Lil-Duckling-22 wants to merge 1 commit into
privacy-ethereum:devfrom
Lil-Duckling-22:fix/crypto-jsdoc-param-correction

Conversation

@Lil-Duckling-22

Copy link
Copy Markdown

Motivation

The JSDoc comment for blake512FromPath incorrectly described the parameter as "data buffer or hexadecimal string", while the function accepts a file path (fs.PathLike). This mismatch could mislead developers using the function.

Solution

Updated the JSDoc parameter description to match the function signature: changed @param data buffer or hexadecimal string to @param path <fs.PathLike> - path to the file to hash. The documentation now accurately reflects the function's implementation and usage throughout the codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant