diff options
author | Gregory Maxwell <greg@xiph.org> | 2015-11-03 17:14:09 +0000 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2015-11-03 17:14:09 +0000 |
commit | d1c3762ae8c8c73ddd47766041507a6c131afaf2 (patch) | |
tree | 25a57c056159681fb7277b582c5daec83afc2b62 /src/policy | |
parent | e4e5334ef8d923993ef9cf704ea8f3d0b5801350 (diff) |
Revert "Revert "Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints""
This reverts commit 8537ecdfc40181249ec37556015a99cfae4b21fd.
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h index fdc54a70a1..f269e8d476 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -44,7 +44,7 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY static const unsigned int STANDARD_NOT_MANDATORY_VERIFY_FLAGS = STANDARD_SCRIPT_VERIFY_FLAGS & ~MANDATORY_SCRIPT_VERIFY_FLAGS; /** Used as the flags parameter to CheckFinalTx() in non-consensus code */ -static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = 0; +static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST; bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType); /** |