EvalScript: fix execute flag calculation
authorCryptoManiac <balthazar@yandex.ru>
Sun, 23 Aug 2015 02:06:07 +0000 (05:06 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Sun, 23 Aug 2015 02:06:07 +0000 (05:06 +0300)
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)
                     {