net: Clarify that m_addr_local is only set once

Includes a rename from addrLocal to m_addr_local to match the name of
its corresponding Mutex.
This commit is contained in:
MarcoFalke
2024-08-09 13:43:36 +02:00
parent bacab1380e
commit fa6fe43207
3 changed files with 9 additions and 13 deletions

View File

@@ -963,7 +963,7 @@ private:
size_t m_msg_process_queue_size GUARDED_BY(m_msg_process_queue_mutex){0};
// Our address, as reported by the peer
CService addrLocal GUARDED_BY(m_addr_local_mutex);
CService m_addr_local GUARDED_BY(m_addr_local_mutex);
mutable Mutex m_addr_local_mutex;
mapMsgTypeSize mapSendBytesPerMsgType GUARDED_BY(cs_vSend);