aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-12-27 16:42:29 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-12-27 16:42:29 -0500
commit625b56de6491170ad6a2e45c57d974fca6160750 (patch)
tree85171eb91e4a20baecfd7b3719c428c8bad87a14
parent6d6d392b2238a4c6469f7e4d70071f17841197eb (diff)
parent89772f932ac9477ff4745dc62a01cf57dbc0f70d (diff)
Merge branch 'opevalcountfix' of https://github.com/laanwj/bitcoin
-rw-r--r--src/script.cpp2
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;