Litecoin: Adjust BIP16 value
This commit is contained in:
parent
303b13b72c
commit
ba8ed3a93b
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user