EvalScript: fix execute flag calculation
[NovacoinLibrary.git] / Novacoin / ScriptCode.cs
index f5f1352..b85850b 100644 (file)
@@ -881,7 +881,7 @@ namespace Novacoin
 
                 while (GetOp(ref CodeQueue, out opcode, out pushArg)) // Read instructions
                 {
-                    bool fExec = vfExec.IndexOf(false) != -1;
+                    bool fExec = vfExec.IndexOf(false) == -1;
 
                     if (pushArg.Count() > 520)
                     {