script: fix code separators for segwit.

This commit is contained in:
Christopher Jeffrey 2016-10-02 03:29:21 -07:00
parent e850227793
commit c13852f81e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -834,7 +834,7 @@ Script.prototype.execute = function execute(stack, flags, tx, index, version) {
break;
}
case opcodes.OP_CODESEPARATOR: {
lastSep = ip;
lastSep = ip + 1;
break;
}
case opcodes.OP_CHECKSIG: