mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-12 13:41:52 +00:00
Allowed BIP113 (Median Time Past) since beginning.
This commit is contained in:
parent
eec7114115
commit
01368b925e
@ -3245,7 +3245,7 @@ static bool ContextualCheckBlock(const CBlock& block, CValidationState& state, c
|
||||
}
|
||||
|
||||
int64_t nLockTimeCutoff = (nLockTimeFlags & LOCKTIME_MEDIAN_TIME_PAST)
|
||||
? pindexPrev->GetMedianTimePast()
|
||||
? (pindexPrev ? pindexPrev->GetMedianTimePast() : block.GetBlockTime())
|
||||
: block.GetBlockTime();
|
||||
|
||||
// Check that all transactions are finalized
|
||||
|
Loading…
x
Reference in New Issue
Block a user