From 815b962c7165a542a1f11c4ccfbdbcfb54fd8516 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 5 Jan 2018 19:20:14 -0800 Subject: [PATCH] Use a valid shift for SCRIPT_ENABLE_SIGHASH_FORKID --- src/script/interpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/interpreter.h b/src/script/interpreter.h index 299fe141..3200650e 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -89,7 +89,7 @@ enum SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY = (1U << 9), // Do we accept signature using SIGHASH_FORKID - SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 42), + SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 10), }; uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);