[net processing] Don't pass CConnman to RelayTransactions

Use the local m_connman instead
This commit is contained in:
John Newbery
2021-01-27 22:18:52 +00:00
parent a38a4e8f03
commit 680eb56d82
3 changed files with 11 additions and 12 deletions

View File

@@ -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 */