diff --git a/src/script.cpp b/src/script.cpp index 660023ef..65e9b7c9 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -939,7 +939,7 @@ bool EvalScript(vector >& 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;