mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Fix crash in BlockAssembler::addPackageTxs
This commit is contained in:
parent
baf8b81c4a
commit
f44f09ca04
@ -454,7 +454,8 @@ void BlockAssembler::addPackageTxs(int &nPackagesSelected, int &nDescendantsUpda
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!llmq::chainLocksHandler->IsTxSafeForMining(mi->GetTx().GetHash())) {
|
||||
if (mi != mempool.mapTx.get<ancestor_score>().end() &&
|
||||
!llmq::chainLocksHandler->IsTxSafeForMining(mi->GetTx().GetHash())) {
|
||||
++mi;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user