diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-11 10:36:42 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-09-02 17:18:21 -0700 |
commit | 1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5 (patch) | |
tree | b484e4143c7c0f3b120148738e64aff2ff709d09 /src/net_processing.cpp | |
parent | ff6b9081add3a40d53b1cc1352b57eeb46e41d45 (diff) |
[trivial] Small style updates
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index dae77dabfb..b419ee7e61 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 |