Skip to content

Commit f67b224

Browse files
docs: Fix return value of _tagged_sha256
1 parent f813bb0 commit f67b224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/secp256k1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_combine(
814814
* implementations optimized for a specific tag can precompute the SHA256 state
815815
* after hashing the tag hashes.
816816
*
817-
* Returns 0 if the arguments are invalid and 1 otherwise.
817+
* Returns: 1 always.
818818
* Args: ctx: pointer to a context object
819819
* Out: hash32: pointer to a 32-byte array to store the resulting hash
820820
* In: tag: pointer to an array containing the tag

0 commit comments

Comments
 (0)