Browse Source

fix format in ScriptInterpreter

patch-2
Manuel Araoz 11 years ago
parent
commit
9a64cb0ea1
  1. 4
      ScriptInterpreter.js

4
ScriptInterpreter.js

@ -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");
}

Loading…
Cancel
Save