diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-27 10:02:28 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-27 10:02:28 +0100 |
commit | 89772f932ac9477ff4745dc62a01cf57dbc0f70d (patch) | |
tree | aabcadc5d77c8762026084e4d3cc9b95f521df63 /src/script.cpp | |
parent | 61977f956c6bacd6e05e3211bf2a90e5b5672a94 (diff) |
Fix OP_EVAL recursion depth counting
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp index 0a1b3bb309..f576e14a8b 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -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; |