diff options
| author | Amiti Uttarwar <[email protected]> | 2020-08-11 10:36:42 -0700 |
|---|---|---|
| committer | Amiti Uttarwar <[email protected]> | 2020-09-02 17:18:21 -0700 |
| commit | 1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5 (patch) | |
| tree | b484e4143c7c0f3b120148738e64aff2ff709d09 /src/net_processing.cpp | |
| parent | [doc] Explain address handling logic in process messages (diff) | |
| download | discoin-1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5.tar.xz discoin-1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5.zip | |
[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 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 |