Skip to content

Commit

Permalink
Don't skip "safe TX" check when ChainLocks are not enforced yet (#2851)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Apr 10, 2019
1 parent 6fd9e51 commit 225c389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmq/quorums_chainlocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ bool CChainLocksHandler::IsTxSafeForMining(const uint256& txid)
int64_t txAge = 0;
{
LOCK(cs);
if (!isEnforced) {
if (!isSporkActive) {
return true;
}
auto it = txFirstSeenTime.find(txid);
Expand Down

0 comments on commit 225c389

Please sign in to comment.