mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fix: mark invalid EHF tx in mempool
This commit is contained in:
parent
92be5e0be7
commit
13f28a0194
@ -477,6 +477,10 @@ void BlockAssembler::addPackageTxs(int &nPackagesSelected, int &nDescendantsUpda
|
||||
}
|
||||
if (std::optional<uint8_t> signal = extractEHFSignal(iter->GetTx()); signal != std::nullopt) {
|
||||
if (signals.find(*signal) != signals.end()) {
|
||||
if (fUsingModified) {
|
||||
mapModifiedTx.get<ancestor_score>().erase(modit);
|
||||
failedTx.insert(iter);
|
||||
}
|
||||
LogPrintf("%s: ehf signal tx %s skipped due to duplicate %d\n",
|
||||
__func__, iter->GetTx().GetHash().ToString(), *signal);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user