aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-01-27 22:18:52 +0000
committerJohn Newbery <john@johnnewbery.com>2021-03-04 10:22:57 +0000
commit680eb56d828ce358b4e000c140f5b247ff5e6179 (patch)
treec32f273b910fc8a3857107793889b2df0d62c5a1 /src/net_processing.h
parenta38a4e8f039dfabfd9435f3a63f1a9b56de086d6 (diff)
downloadbitcoin-680eb56d828ce358b4e000c140f5b247ff5e6179.tar.xz
[net processing] Don't pass CConnman to RelayTransactions
Use the local m_connman instead
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index f47594400c..c44bae60d7 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -48,7 +48,7 @@ public:
virtual bool IgnoresIncomingTxs() = 0;
/** Relay transaction to all peers. */
- virtual void RelayTransaction(const uint256& txid, const uint256& wtxid, const CConnman& connman)
+ virtual void RelayTransaction(const uint256& txid, const uint256& wtxid)
EXCLUSIVE_LOCKS_REQUIRED(cs_main) = 0;
/** Send ping message to all peers */