We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d5161 commit 4861861Copy full SHA for 4861861
src/llmq/chainlocks.cpp
@@ -449,17 +449,7 @@ CChainLocksHandler::BlockTxs::mapped_type CChainLocksHandler::GetBlockTxs(const
449
450
bool CChainLocksHandler::IsTxSafeForMining(const CInstantSendManager& isman, const uint256& txid) const
451
{
452
- if (!isman.RejectConflictingBlocks()) {
453
- return true;
454
- }
455
- if (!isEnabled || !isEnforced) {
456
457
458
-
459
- if (!isman.IsInstantSendEnabled()) {
460
461
462
- if (isman.IsLocked(txid)) {
+ if (!isman.RejectConflictingBlocks() || !isman.IsInstantSendEnabled() || isman.IsLocked(txid)) {
463
return true;
464
}
465
0 commit comments