Merge pull request #301 from matiu/bug/firefox

fix firefox test
This commit is contained in:
Ryan X. Charles 2014-04-29 10:22:15 -04:00
commit 0c8a582522
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,6 @@ ScriptInterpreter.prototype.eval = function eval(script, tx, inIndex, hashType,
var success = true,
isig = 0,
ikey = 0;
checkMultiSigStep.call(this);
function checkMultiSigStep() {
if (success && sigsCount > 0) {
@ -742,6 +741,7 @@ ScriptInterpreter.prototype.eval = function eval(script, tx, inIndex, hashType,
executeStep.call(this, cb);
}
};
checkMultiSigStep.call(this);
// Note that for asynchronous opcodes we have to return here to prevent
// the next opcode from being executed.