From ba8ed3a93be7e7a97db6bc00dd7280fa2f1548bc Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Tue, 26 Sep 2017 17:56:01 -0700 Subject: [PATCH] Litecoin: Adjust BIP16 value --- src/validation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validation.cpp b/src/validation.cpp index 9d02ecdef..2d2f94300 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1584,8 +1584,8 @@ static ThresholdConditionCache warningcache[VERSIONBITS_NUM_BITS]; static unsigned int GetBlockScriptFlags(const CBlockIndex* pindex, const Consensus::Params& consensusparams) { AssertLockHeld(cs_main); - // BIP16 didn't become active until Apr 1 2012 - int64_t nBIP16SwitchTime = 1333238400; + // BIP16 didn't become active until Oct 1 2012 + int64_t nBIP16SwitchTime = 1349049600; bool fStrictPayToScriptHash = (pindex->GetBlockTime() >= nBIP16SwitchTime); unsigned int flags = fStrictPayToScriptHash ? SCRIPT_VERIFY_P2SH : SCRIPT_VERIFY_NONE;