|
@ -20,7 +20,7 @@ function spec(b) { |
|
|
function ScriptInterpreter() { |
|
|
function ScriptInterpreter() { |
|
|
this.stack = []; |
|
|
this.stack = []; |
|
|
this.disableUnsafeOpcodes = true; |
|
|
this.disableUnsafeOpcodes = true; |
|
|
}; |
|
|
} |
|
|
|
|
|
|
|
|
ScriptInterpreter.prototype.eval = function eval(script, tx, inIndex, hashType, callback) { |
|
|
ScriptInterpreter.prototype.eval = function eval(script, tx, inIndex, hashType, callback) { |
|
|
if ("function" !== typeof callback) { |
|
|
if ("function" !== typeof callback) { |
|
|