diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-07-06 14:08:23 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-09-06 19:32:04 -0400 |
commit | 80e2e9d0cec890c5d2f81360ebb81e81c07ccb8c (patch) | |
tree | aa0cdef4b62b87bc9832b30efb75c7b0e177ba2f /src/net_processing.cpp | |
parent | 8ad663c1fa88d68843e45580deced56112343183 (diff) | |
download | bitcoin-80e2e9d0cec890c5d2f81360ebb81e81c07ccb8c.tar.xz |
net: drop unused connman param
The copy in PeerLogicValidation can be used instead.
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 9bd1adc571..b8900d9888 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -496,7 +496,7 @@ void FindNextBlocksToDownload(NodeId nodeid, unsigned int count, std::vector<con } // namespace -void PeerLogicValidation::InitializeNode(CNode *pnode, CConnman* connman) { +void PeerLogicValidation::InitializeNode(CNode *pnode) { CAddress addr = pnode->addr; std::string addrName = pnode->GetAddrName(); NodeId nodeid = pnode->GetId(); @@ -2640,7 +2640,7 @@ static bool SendRejectsAndCheckIfBanned(CNode* pnode, CConnman* connman) return false; } -bool PeerLogicValidation::ProcessMessages(CNode* pfrom, CConnman* connman, std::atomic<bool>& interruptMsgProc) +bool PeerLogicValidation::ProcessMessages(CNode* pfrom, std::atomic<bool>& interruptMsgProc) { const CChainParams& chainparams = Params(); // @@ -2777,7 +2777,7 @@ public: } }; -bool PeerLogicValidation::SendMessages(CNode* pto, CConnman* connman, std::atomic<bool>& interruptMsgProc) +bool PeerLogicValidation::SendMessages(CNode* pto, std::atomic<bool>& interruptMsgProc) { const Consensus::Params& consensusParams = Params().GetConsensus(); { |