script: fix code separators for segwit.
This commit is contained in:
parent
e850227793
commit
c13852f81e
@ -834,7 +834,7 @@ Script.prototype.execute = function execute(stack, flags, tx, index, version) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case opcodes.OP_CODESEPARATOR: {
|
case opcodes.OP_CODESEPARATOR: {
|
||||||
lastSep = ip;
|
lastSep = ip + 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case opcodes.OP_CHECKSIG:
|
case opcodes.OP_CHECKSIG:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user