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;
|
||||
|
||||
if (!EvalScriptInner(stack, subscript, txTo, nIn, nHashType,
|
||||
pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth++))
|
||||
pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth+1))
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue