File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ extern "C" {
5151#define WALLY_SIGHASH_MASK 0x1f /* Mask for determining ALL/NONE/SINGLE */
5252#define WALLY_SIGHASH_TR_IN_MASK 0xc0 /* Taproot mask for determining input hash type */
5353
54- /*** tx-sighash -type Transaction signature hash flags */
54+ /*** tx-sig -type Transaction signature type flags */
5555#define WALLY_SIGTYPE_PRE_SW 0x1 /* Pre-segwit signature hash */
5656#define WALLY_SIGTYPE_SW_V0 0x2 /* Segwit v0 signature hash */
5757#define WALLY_SIGTYPE_SW_V1 0x3 /* Segwit v1 (taproot) signature hash */
58- #define WALLY_SIGTYPE_MASK 0xf /* Mask for signature hash in signature hash flags */
58+ #define WALLY_SIGTYPE_MASK 0xf /* Mask for signature type in flags */
5959
6060#define WALLY_TX_ASSET_CT_EMPTY_PREFIX 0x00
6161#define WALLY_TX_ASSET_CT_EXPLICIT_PREFIX 0x01
@@ -910,7 +910,7 @@ WALLY_CORE_API int wally_tx_get_signature_hash(
910910 *| be `SHA256_LEN` or 0.
911911 * :param sighash: ``WALLY_SIGHASH_`` flags specifying the sighash flags
912912 *| to sign with.
913- * :param flags: :ref:`tx-sighash -type` controlling signature hash generation.
913+ * :param flags: :ref:`tx-sig -type` controlling signature hash generation.
914914 * :param cache: An opaque cache for faster generation, or NULL to disable
915915 *| caching. Must be empty on the first call to this function for a given
916916 *| transaction, and only used for signing the inputs of the same ``tx``.
You can’t perform that action at this time.
0 commit comments