This constant is actually spelled SCRIPT_ERR_ILLEGAL_FORKID

This commit is contained in:
Jonathan "Duke" Leto 2018-01-05 15:28:08 -08:00
parent da30307c73
commit e70c93fdd4
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}