|
|
@ -20,7 +20,7 @@ function spec(b) { |
|
|
|
function ScriptInterpreter() { |
|
|
|
this.stack = []; |
|
|
|
this.disableUnsafeOpcodes = true; |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
ScriptInterpreter.prototype.eval = function eval(script, tx, inIndex, hashType, callback) { |
|
|
|
if ("function" !== typeof callback) { |
|
|
@ -748,7 +748,7 @@ function spec(b) { |
|
|
|
return; |
|
|
|
|
|
|
|
default: |
|
|
|
console.log('opcode '+opcode); |
|
|
|
console.log('opcode ' + opcode); |
|
|
|
throw new Error("Unknown opcode encountered"); |
|
|
|
} |
|
|
|
|
|
|
|