Don't compare oranges to apples.
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Mon, 22 Feb 2016 02:20:47 +0000 (05:20 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Mon, 22 Feb 2016 02:20:47 +0000 (05:20 +0300)
src/script.cpp

index 2eb71f0..c0da405 100644 (file)
@@ -543,8 +543,8 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, co
                         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;