diff --git a/src/script/interpreter.h b/src/script/interpreter.h index 499f7b9ea5..b1a510bd62 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -290,7 +290,7 @@ extern const HashWriter HASHER_TAPLEAF_ELEMENTS; //!< Hasher with tag "TapLea extern const HashWriter HASHER_TAPBRANCH_ELEMENTS; //!< Hasher with tag "TapBranch" pre-fed to it. template -uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int nHashType, const CConfidentialValue& amount, SigVersion sigversion, unsigned int flags, const PrecomputedTransactionData* cache = nullptr); +uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int32_t nHashType, const CConfidentialValue& amount, SigVersion sigversion, unsigned int flags, const PrecomputedTransactionData* cache = nullptr); class BaseSignatureChecker {