diff options
author | Matt Corallo <git@bluematt.me> | 2017-02-06 12:04:34 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-02-10 11:32:41 -0500 |
commit | 036073bf87c07f8d69e39168dd93a52f1aafe85c (patch) | |
tree | 95cdeea1af6e92752009b265b4f1b67e1d040f7f /src/net_processing.cpp | |
parent | d8f2b8a8c032b83a3bd90750e58abaeece7e34e7 (diff) |
Move CNode::addrName accesses behind locked accessors
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 62397e68ce..b0c9b3c71b 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -264,7 +264,7 @@ void PushNodeVersion(CNode *pnode, CConnman& connman, int64_t nTime) void InitializeNode(CNode *pnode, CConnman& connman) { CAddress addr = pnode->addr; - std::string addrName = pnode->addrName; + std::string addrName = pnode->GetAddrName(); NodeId nodeid = pnode->GetId(); { LOCK(cs_main); |