Skip to content

Commit

Permalink
mempool: Do not forget to update m_ancestors
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Aug 30, 2023
1 parent af3057e commit 7ce2392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,10 +918,10 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
if (!ancestors) return state.Invalid(TxValidationResult::TX_MEMPOOL_POLICY, "too-long-mempool-chain", error_message);
}

/*
// Blackcoin
ws.m_ancestors = *ancestors;

// Blackcoin
/*
// A transaction that spends outputs that would be replaced by it is invalid. Now
// that we have the set of all ancestors we can detect this
// pathological case by making sure ws.m_conflicts and ws.m_ancestors don't
Expand Down

0 comments on commit 7ce2392

Please sign in to comment.