Skip to content

Commit

Permalink
docs: Fix return value of _tagged_sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Mar 16, 2022
1 parent 5cca9be commit 1cecf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/secp256k1.h
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_combine(
* implementations optimized for a specific tag can precompute the SHA256 state
* after hashing the tag hashes.
*
* Returns 0 if the arguments are invalid and 1 otherwise.
* Returns: 1 always.
* Args: ctx: pointer to a context object
* Out: hash32: pointer to a 32-byte array to store the resulting hash
* In: tag: pointer to an array containing the tag
Expand Down

0 comments on commit 1cecf08

Please sign in to comment.