Remove OP_CODESEPARATOR from tests
This commit is contained in:
@@ -87,7 +87,7 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
|
||||
}
|
||||
|
||||
void static RandomScript(CScript &script) {
|
||||
static const opcodetype oplist[] = {OP_FALSE, OP_1, OP_2, OP_3, OP_CHECKSIG, OP_IF, OP_VERIF, OP_RETURN, OP_CODESEPARATOR};
|
||||
static const opcodetype oplist[] = {OP_FALSE, OP_1, OP_2, OP_3, OP_CHECKSIG, OP_IF, OP_VERIF, OP_RETURN};
|
||||
script = CScript();
|
||||
int ops = (insecure_rand() % 10);
|
||||
for (int i=0; i<ops; i++)
|
||||
|
||||
Reference in New Issue
Block a user