aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-01-06 11:07:01 +0000
committerJohn Newbery <john@johnnewbery.com>2021-01-13 16:18:12 +0000
commit06fa85cd50b718fecd69f0481740d2b8714a1397 (patch)
tree6c751032e8d77d1abce9f170b330cb9a00548f11 /src/net.h
parente7eb37128c3155f074af5f38974934ce6941b0fb (diff)
downloadbitcoin-06fa85cd50b718fecd69f0481740d2b8714a1397.tar.xz
[net] InactivityCheck() takes a CNode reference
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 087135a290..6bc19f7148 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1044,7 +1044,7 @@ private:
void AcceptConnection(const ListenSocket& hListenSocket);
void DisconnectNodes();
void NotifyNumConnectionsChanged();
- void InactivityCheck(CNode *pnode) const;
+ void InactivityCheck(CNode& node) const;
bool GenerateSelectSet(std::set<SOCKET> &recv_set, std::set<SOCKET> &send_set, std::set<SOCKET> &error_set);
void SocketEvents(std::set<SOCKET> &recv_set, std::set<SOCKET> &send_set, std::set<SOCKET> &error_set);
void SocketHandler();