Don't compare oranges to apples.
[novacoin.git] / src / script.cpp
index eb1dc9a..c0da405 100644 (file)
@@ -539,12 +539,12 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
                     // logic is the same, all that differs is what we are comparing
                     // the lock time to.
                     int64_t txToLockTime = (int64_t)~txTo.vin[nIn].nSequence;
-                        if (txToLockTime >= SEQUENCE_THRESHOLD)
-                            return false;
+                    if (txToLockTime >= SEQUENCE_THRESHOLD)
+                        return false;
 
                     if (!(
-                        (txToLockTime <  LOCKTIME_THRESHOLD && nInvSequence <  LOCKTIME_THRESHOLD) || 
-                        (txToLockTime >= LOCKTIME_THRESHOLD && nInvSequence >= LOCKTIME_THRESHOLD)
+                        (txToLockTime <  SEQUENCE_THRESHOLD && nInvSequence <  SEQUENCE_THRESHOLD) || 
+                        (txToLockTime >= SEQUENCE_THRESHOLD && nInvSequence >= SEQUENCE_THRESHOLD)
                     ))
                         return false;