Fix OP_EVAL recursion depth counting
This commit is contained in:
parent
61977f956c
commit
89772f932a
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ bool EvalScriptInner(vector<vector<unsigned char> >& stack, const CScript& scrip
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!EvalScriptInner(stack, subscript, txTo, nIn, nHashType,
|
if (!EvalScriptInner(stack, subscript, txTo, nIn, nHashType,
|
||||||
pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth++))
|
pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth+1))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue