aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-04-26 10:18:35 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-04-26 10:18:35 -0400
commit08e663d7e2fa194efbffef41cffe9626b71acdaa (patch)
treeca90f37022358e050760b196b700432943841c6c /src/script.cpp
parente1ea3ce7aaf83a1b8a04d96f6c1477f9a08d0f90 (diff)
Undo part of c2e8c8ac to fix issue#1148
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 660023ef48..65e9b7c9a2 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -939,7 +939,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
{
// ([sig ...] num_of_signatures [pubkey ...] num_of_pubkeys -- bool)
- unsigned int i = 1;
+ int i = 1;
if (stack.size() < i)
return false;