This constant is actually spelled SCRIPT_ERR_ILLEGAL_FORKID
This commit is contained in:
parent
da30307c73
commit
e70c93fdd4
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue