fix format in ScriptInterpreter

This commit is contained in:
Manuel Araoz 2014-03-07 18:08:24 -03:00
parent 512d9d39ee
commit 9a64cb0ea1

View File

@ -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) {
@ -748,7 +748,7 @@ function spec(b) {
return; return;
default: default:
console.log('opcode '+opcode); console.log('opcode ' + opcode);
throw new Error("Unknown opcode encountered"); throw new Error("Unknown opcode encountered");
} }