We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58bcdc commit 6f8c937Copy full SHA for 6f8c937
src/net.cpp
@@ -498,7 +498,7 @@ void CNode::SetAddrLocal(const CService& addrLocalIn) {
498
499
#undef X
500
#define X(name) stats.name = name
501
-void CNode::copyStats(CNodeStats &stats, std::vector<bool> &m_asmap)
+void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
502
{
503
stats.nodeid = this->GetId();
504
X(nServices);
src/net.h
@@ -983,7 +983,7 @@ class CNode
983
984
void CloseSocketDisconnect();
985
986
- void copyStats(CNodeStats &stats, std::vector<bool> &m_asmap);
+ void copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap);
987
988
ServiceFlags GetLocalServices() const
989
0 commit comments