From e70c93fdd499a8abf3028f28b0bcd14f4fc4b10f Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 5 Jan 2018 15:28:08 -0800 Subject: [PATCH] This constant is actually spelled SCRIPT_ERR_ILLEGAL_FORKID --- src/script/interpreter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 40ea0bd9..148a4c3c 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -207,11 +207,11 @@ bool static CheckSignatureEncoding(const valtype &vchSig, unsigned int flags, Sc bool btcpforkEnabled = flags & SCRIPT_ENABLE_SIGHASH_FORKID; if(!btcpForkHash && btcpforkEnabled) { - return set_error(serror, SCRIPT_ERR_ILLEGAL_BTCP_FORKID); + return set_error(serror, SCRIPT_ERR_ILLEGAL_FORKID); } if(btcpForkHash && !btcpforkEnabled) { - return set_error(serror, SCRIPT_ERR_ILLEGAL_BTCP_FORKID); + return set_error(serror, SCRIPT_ERR_ILLEGAL_FORKID); } }