aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-09-01 11:24:46 +0100
committerJohn Newbery <john@johnnewbery.com>2021-09-07 15:24:14 +0100
commit853c4edb70f897a6a7165abaea4a303d7d448721 (patch)
tree0f2e63ecf7e36dbf39b35505ddd35dd8d1b93000 /src/net.h
parent9fd5618610e91e3949536c5122cf31eb58c9aa6b (diff)
downloadbitcoin-853c4edb70f897a6a7165abaea4a303d7d448721.tar.xz
[net] Remove asmap argument from CNode::CopyStats()
This saves passing around a reference to the asmap std::vector<bool>.
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 e7ad959fd9..1479861bc2 100644
--- a/src/net.h
+++ b/src/net.h
@@ -652,7 +652,7 @@ public:
void CloseSocketDisconnect();
- void CopyStats(CNodeStats& stats, const std::vector<bool>& asmap);
+ void CopyStats(CNodeStats& stats);
ServiceFlags GetLocalServices() const
{