mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Don't skip "safe TX" check when ChainLocks are not enforced yet (#2851)
This commit is contained in:
parent
6fd9e51059
commit
225c3898d8
@ -387,7 +387,7 @@ bool CChainLocksHandler::IsTxSafeForMining(const uint256& txid)
|
|||||||
int64_t txAge = 0;
|
int64_t txAge = 0;
|
||||||
{
|
{
|
||||||
LOCK(cs);
|
LOCK(cs);
|
||||||
if (!isEnforced) {
|
if (!isSporkActive) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
auto it = txFirstSeenTime.find(txid);
|
auto it = txFirstSeenTime.find(txid);
|
||||||
|
Loading…
Reference in New Issue
Block a user