aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-06-25 17:26:55 -0400
committerJohn Newbery <john@johnnewbery.com>2020-09-07 20:12:02 +0100
commit001343f4bc8b22fa9e313bd2867756eb9d614fa3 (patch)
tree15afc4131cf0b4bb160c2c9e080c643919f8f7a2 /src/net_processing.h
parent4fce726bd1e35a686cd9d48add5da22b1b5e25e1 (diff)
ProcessOrphanTx: Move AddToCompactExtraTransactions call into ProcessOrphanTx
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 520f7489e8..f7afddda23 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -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);