aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <[email protected]>2020-08-11 10:36:42 -0700
committerAmiti Uttarwar <[email protected]>2020-09-02 17:18:21 -0700
commit1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5 (patch)
treeb484e4143c7c0f3b120148738e64aff2ff709d09 /src/net_processing.cpp
parent[doc] Explain address handling logic in process messages (diff)
downloaddiscoin-1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5.tar.xz
discoin-1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5.zip
[trivial] Small style updates
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index dae77dabf..b419ee7e6 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -882,8 +882,9 @@ void PeerLogicValidation::InitializeNode(CNode *pnode) {
LOCK(g_peer_mutex);
g_peer_map.emplace_hint(g_peer_map.end(), nodeid, std::move(peer));
}
- if(!pnode->IsInboundConn())
+ if (!pnode->IsInboundConn()) {
PushNodeVersion(*pnode, m_connman, GetTime());
+ }
}
void PeerLogicValidation::ReattemptInitialBroadcast(CScheduler& scheduler) const