ProcessOrphanTx: Move AddToCompactExtraTransactions call into ProcessOrphanTx

This commit is contained in:
John Newbery
2020-06-25 17:26:55 -04:00
parent 4fce726bd1
commit 001343f4bc
2 changed files with 12 additions and 14 deletions

View File

@@ -121,8 +121,7 @@ private:
*/
bool MaybeDiscourageAndDisconnect(CNode& pnode);
void ProcessOrphanTx(std::set<uint256>& orphan_work_set, std::list<CTransactionRef>& removed_txn)
EXCLUSIVE_LOCKS_REQUIRED(cs_main, g_cs_orphans);
void ProcessOrphanTx(std::set<uint256>& orphan_work_set) EXCLUSIVE_LOCKS_REQUIRED(cs_main, g_cs_orphans);
/** Process a single headers message from a peer. */
void ProcessHeadersMessage(CNode& pfrom, const std::vector<CBlockHeader>& headers, bool via_compact_block);