mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[net processing] Make GetPeerRef const
This commit is contained in:
parent
ed7e469cee
commit
a20ab22786
2 changed files with 3 additions and 3 deletions
|
|
@ -835,7 +835,7 @@ void PeerManager::FinalizeNode(const CNode& node, bool& fUpdateConnectionTime) {
|
|||
LogPrint(BCLog::NET, "Cleared nodestate for peer=%d\n", nodeid);
|
||||
}
|
||||
|
||||
PeerRef PeerManager::GetPeerRef(NodeId id)
|
||||
PeerRef PeerManager::GetPeerRef(NodeId id) const
|
||||
{
|
||||
LOCK(m_peer_mutex);
|
||||
auto it = m_peer_map.find(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue